摘要:
1.DBImpl::Open1StatusDB::Open(constOptions&options,conststd::string&dbname,2DB**dbptr){3*dbptr=NULL;45DBImpl*impl=newDBImpl(options,dbname);6impl->mut... 阅读全文
摘要:
1.源码1StatusDB::Open(constOptions&options,conststd::string&dbname,2DB**dbptr){3*dbptr=NULL;45DBImpl*impl=newDBImpl(options,dbname);6impl->mutex_.Lock()... 阅读全文
摘要:
基本用法数据结构classDBImpl : public DB{private: struct CompactionState; struct Writer;// Information kept for every waiting writer Env* const env_; // 文件,目... 阅读全文