Print DB pointer when opening a DB
Print DB pointer when opening a DB

Summary: Having a pointer for DB will be helpful to debug when GDB or working on a dump. If the client process doesn't have any thread actively working on RocksDB, it can be hard to find out.

Test Plan: make all check

Reviewers: rven, yhchiang, igor

Reviewed By: igor

Subscribers: yoshinorim, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D33159

makelivedotnet/rocksdb,facebook/rocksdb,wat-ze-hex/rocksdb,RyanTech/rocksdb,vmx/rocksdb,dkorolev/rocksdb,zhangpng/rocksdb,flabby/rocksdb,siddhartharay007/rocksdb,wskplho/rocksdb,mbarbon/rocksdb,JackLian/rocksdb,tizzybec/rocksdb,mbarbon/rocksdb,zhangpng/rocksdb,vmx/rocksdb,NickCis/rocksdb,SunguckLee/RocksDB,RyanTech/rocksdb,skunkwerks/rocksdb,tizzybec/rocksdb,kaschaeffer/rocksdb,biddyweb/rocksdb,kaschaeffer/rocksdb,facebook/rocksdb,dkorolev/rocksdb,ylong/rocksdb,wenduo/rocksdb,JackLian/rocksdb,JoeWoo/rocksdb,biddyweb/rocksdb,wskplho/rocksdb,jalexanderqed/rocksdb,wenduo/rocksdb,RyanTech/rocksdb,vmx/rocksdb,anagav/rocksdb,tsheasha/rocksdb,norton/rocksdb,hobinyoon/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,amyvmiwei/rocksdb,alihalabyah/rocksdb,anagav/rocksdb,hobinyoon/rocksdb,tsheasha/rocksdb,Andymic/rocksdb,vmx/rocksdb,lgscofield/rocksdb,facebook/rocksdb,NickCis/rocksdb,Andymic/rocksdb,lgscofield/rocksdb,wskplho/rocksdb,vmx/rocksdb,rDSN-Projects/rocksdb.replicated,lgscofield/rocksdb,RyanTech/rocksdb,JackLian/rocksdb,siddhartharay007/rocksdb,wat-ze-hex/rocksdb,geraldoandradee/rocksdb,alihalabyah/rocksdb,siddhartharay007/rocksdb,sorphi/rocksdb,JohnPJenkins/rocksdb,temicai/rocksdb,SunguckLee/RocksDB,anagav/rocksdb,luckywhu/rocksdb,geraldoandradee/rocksdb,Andymic/rocksdb,dkorolev/rocksdb,virtdb/rocksdb,wenduo/rocksdb,JackLian/rocksdb,hobinyoon/rocksdb,fengshao0907/rocksdb,skunkwerks/rocksdb,wat-ze-hex/rocksdb,SunguckLee/RocksDB,vashstorm/rocksdb,facebook/rocksdb,OverlordQ/rocksdb,biddyweb/rocksdb,JohnPJenkins/rocksdb,wat-ze-hex/rocksdb,hobinyoon/rocksdb,skunkwerks/rocksdb,wskplho/rocksdb,JackLian/rocksdb,hobinyoon/rocksdb,OverlordQ/rocksdb,IMCG/RcoksDB,rDSN-Projects/rocksdb.replicated,jalexanderqed/rocksdb,wenduo/rocksdb,JohnPJenkins/rocksdb,Vaisman/rocksdb,JoeWoo/rocksdb,Applied-Duality/rocksdb,norton/rocksdb,ryneli/rocksdb,kaschaeffer/rocksdb,siddhartharay007/rocksdb,alihalabyah/rocksdb,siddhartharay007/rocksdb,skunkwerks/rocksdb,alihalabyah/rocksdb,amyvmiwei/rocksdb,bbiao/rocksdb,rDSN-Projects/rocksdb.replicated,hobinyoon/rocksdb,OverlordQ/rocksdb,vmx/rocksdb,wat-ze-hex/rocksdb,temicai/rocksdb,IMCG/RcoksDB,norton/rocksdb,jalexanderqed/rocksdb,OverlordQ/rocksdb,mbarbon/rocksdb,Applied-Duality/rocksdb,skunkwerks/rocksdb,tsheasha/rocksdb,JoeWoo/rocksdb,makelivedotnet/rocksdb,luckywhu/rocksdb,lgscofield/rocksdb,zhangpng/rocksdb,wenduo/rocksdb,IMCG/RcoksDB,SunguckLee/RocksDB,bbiao/rocksdb,jalexanderqed/rocksdb,SunguckLee/RocksDB,kaschaeffer/rocksdb,facebook/rocksdb,Vaisman/rocksdb,rDSN-Projects/rocksdb.replicated,makelivedotnet/rocksdb,JohnPJenkins/rocksdb,tsheasha/rocksdb,bbiao/rocksdb,jalexanderqed/rocksdb,zhangpng/rocksdb,kaschaeffer/rocksdb,luckywhu/rocksdb,amyvmiwei/rocksdb,biddyweb/rocksdb,ryneli/rocksdb,vashstorm/rocksdb,IMCG/RcoksDB,rDSN-Projects/rocksdb.replicated,luckywhu/rocksdb,makelivedotnet/rocksdb,fengshao0907/rocksdb,sorphi/rocksdb,virtdb/rocksdb,JoeWoo/rocksdb,dkorolev/rocksdb,IMCG/RcoksDB,anagav/rocksdb,ylong/rocksdb,ryneli/rocksdb,bbiao/rocksdb,sorphi/rocksdb,Applied-Duality/rocksdb,wenduo/rocksdb,ylong/rocksdb,wlqGit/rocksdb,sorphi/rocksdb,makelivedotnet/rocksdb,geraldoandradee/rocksdb,tizzybec/rocksdb,rDSN-Projects/rocksdb.replicated,biddyweb/rocksdb,wat-ze-hex/rocksdb,skunkwerks/rocksdb,vashstorm/rocksdb,Applied-Duality/rocksdb,wlqGit/rocksdb,siddhartharay007/rocksdb,IMCG/RcoksDB,tizzybec/rocksdb,alihalabyah/rocksdb,hobinyoon/rocksdb,makelivedotnet/rocksdb,flabby/rocksdb,flabby/rocksdb,dkorolev/rocksdb,ryneli/rocksdb,norton/rocksdb,zhangpng/rocksdb,JohnPJenkins/rocksdb,JoeWoo/rocksdb,vmx/rocksdb,facebook/rocksdb,vashstorm/rocksdb,Applied-Duality/rocksdb,siddhartharay007/rocksdb,RyanTech/rocksdb,Andymic/rocksdb,sorphi/rocksdb,virtdb/rocksdb,wlqGit/rocksdb,wat-ze-hex/rocksdb,bbiao/rocksdb,OverlordQ/rocksdb,wskplho/rocksdb,fengshao0907/rocksdb,makelivedotnet/rocksdb,sorphi/rocksdb,wenduo/rocksdb,amyvmiwei/rocksdb,Vaisman/rocksdb,OverlordQ/rocksdb,ylong/rocksdb,RyanTech/rocksdb,zhangpng/rocksdb,wlqGit/rocksdb,JackLian/rocksdb,virtdb/rocksdb,geraldoandradee/rocksdb,alihalabyah/rocksdb,wlqGit/rocksdb,flabby/rocksdb,ryneli/rocksdb,wlqGit/rocksdb,temicai/rocksdb,alihalabyah/rocksdb,amyvmiwei/rocksdb,zhangpng/rocksdb,ylong/rocksdb,caijieming-baidu/rocksdb,amyvmiwei/rocksdb,geraldoandradee/rocksdb,wskplho/rocksdb,mbarbon/rocksdb,ylong/rocksdb,norton/rocksdb,jalexanderqed/rocksdb,NickCis/rocksdb,bbiao/rocksdb,luckywhu/rocksdb,Andymic/rocksdb,ryneli/rocksdb,tsheasha/rocksdb,dkorolev/rocksdb,JohnPJenkins/rocksdb,bbiao/rocksdb,geraldoandradee/rocksdb,fengshao0907/rocksdb,facebook/rocksdb,hobinyoon/rocksdb,Applied-Duality/rocksdb,lgscofield/rocksdb,bbiao/rocksdb,kaschaeffer/rocksdb,virtdb/rocksdb,NickCis/rocksdb,virtdb/rocksdb,mbarbon/rocksdb,Andymic/rocksdb,norton/rocksdb,virtdb/rocksdb,lgscofield/rocksdb,fengshao0907/rocksdb,caijieming-baidu/rocksdb,jalexanderqed/rocksdb,temicai/rocksdb,kaschaeffer/rocksdb,anagav/rocksdb,IMCG/RcoksDB,Applied-Duality/rocksdb,lgscofield/rocksdb,dkorolev/rocksdb,facebook/rocksdb,NickCis/rocksdb,anagav/rocksdb,temicai/rocksdb,wskplho/rocksdb,RyanTech/rocksdb,vmx/rocksdb,SunguckLee/RocksDB,luckywhu/rocksdb,wat-ze-hex/rocksdb,mbarbon/rocksdb,wlqGit/rocksdb,temicai/rocksdb,caijieming-baidu/rocksdb,norton/rocksdb,NickCis/rocksdb,Vaisman/rocksdb,caijieming-baidu/rocksdb,NickCis/rocksdb,luckywhu/rocksdb,flabby/rocksdb,Vaisman/rocksdb,mbarbon/rocksdb,tsheasha/rocksdb,JackLian/rocksdb,fengshao0907/rocksdb,ylong/rocksdb,Vaisman/rocksdb,Andymic/rocksdb,flabby/rocksdb,JohnPJenkins/rocksdb,rDSN-Projects/rocksdb.replicated,flabby/rocksdb,tizzybec/rocksdb,amyvmiwei/rocksdb,biddyweb/rocksdb,fengshao0907/rocksdb,tsheasha/rocksdb,biddyweb/rocksdb,Andymic/rocksdb,JoeWoo/rocksdb,Vaisman/rocksdb,vashstorm/rocksdb,JoeWoo/rocksdb,SunguckLee/RocksDB,OverlordQ/rocksdb,geraldoandradee/rocksdb,wenduo/rocksdb,caijieming-baidu/rocksdb,caijieming-baidu/rocksdb,norton/rocksdb,caijieming-baidu/rocksdb,tizzybec/rocksdb,vashstorm/rocksdb,tizzybec/rocksdb,temicai/rocksdb,vashstorm/rocksdb,sorphi/rocksdb,anagav/rocksdb,skunkwerks/rocksdb,ryneli/rocksdb