remove reccache (mostly)

This commit is contained in:
Dwight
2010-05-17 10:38:36 -04:00
parent 1ea54f26ab
commit 8ac01ac9dc
13 changed files with 30 additions and 27 deletions

View File

@@ -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
}