remove reccache (mostly)
This commit is contained in:
@@ -18,18 +18,12 @@
|
||||
|
||||
#include "pch.h"
|
||||
#include "pdfile.h"
|
||||
#include "reccache.h"
|
||||
//#include "reccache.h"
|
||||
#include "rec.h"
|
||||
#include "db.h"
|
||||
|
||||
namespace mongo {
|
||||
|
||||
void writerThread();
|
||||
|
||||
#if defined(_RECSTORE)
|
||||
static int inited;
|
||||
#endif
|
||||
|
||||
// pick your store for indexes by setting this typedef
|
||||
// this doesn't need to be an ifdef, we can make it dynamic
|
||||
#if defined(_RECSTORE)
|
||||
@@ -38,6 +32,14 @@ RecStoreInterface *btreeStore = new CachedBasicRecStore();
|
||||
MongoMemMapped_RecStore *btreeStore = new MongoMemMapped_RecStore();
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
#if defined(_RECSTORE)
|
||||
static int inited;
|
||||
#endif
|
||||
|
||||
void writerThread();
|
||||
|
||||
void BasicRecStore::init(const char *fn, unsigned recsize)
|
||||
{
|
||||
massert( 10394 , "compile packing problem recstore?", sizeof(RecStoreHeader) == 8192);
|
||||
@@ -74,4 +76,6 @@ void BasicRecStore::init(const char *fn, unsigned recsize)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user