Commit 0216f8e3 authored by Dave Wells's avatar Dave Wells Committed by Yoni Fogel

remove LOADER_USE_REFERENCE_MODEL directives

git-svn-id: file:///svn/toku/tokudb@18914 c7de825b-a66e-492c-adef-691d508d4ae1
parent f937dd72
...@@ -16,11 +16,6 @@ ifneq ($(TOKUDB_REVISION),) ...@@ -16,11 +16,6 @@ ifneq ($(TOKUDB_REVISION),)
CPPFLAGS += -DTOKUDB_REVISION=$(TOKUDB_REVISION) CPPFLAGS += -DTOKUDB_REVISION=$(TOKUDB_REVISION)
endif endif
LOADER_USE_REFERENCE_MODEL=0
ifeq ($(LOADER_USE_REFERENCE_MODEL),1)
CPPFLAGS += -DLOADER_USE_REFERENCE_MODEL
endif
YDB=ydb.$(AEXT) YDB=ydb.$(AEXT)
YDB_BUNDLE=ydb.bundle YDB_BUNDLE=ydb.bundle
TYDB=tydb.$(AEXT) TYDB=tydb.$(AEXT)
......
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
/* /*
* The loader * The loader
*
* (Once we have a functioning loader - currently defaults to reference model)
* If LOADER_USE_REFERENCE_MODEL is defined at compile time, a reference model is compiled
* $ make LOADER_USE_REFERENCE_MODEL=1 ...
*/ */
#include <toku_portability.h> #include <toku_portability.h>
...@@ -184,9 +180,6 @@ int toku_loader_create_loader(DB_ENV *env, ...@@ -184,9 +180,6 @@ int toku_loader_create_loader(DB_ENV *env,
} }
// time to open the big kahuna // time to open the big kahuna
#ifdef LOADER_USE_REFERENCE_MODEL
loader->i->loader_flags |= LOADER_USE_PUTS;
#endif
if ( loader->i->loader_flags & LOADER_USE_PUTS ) { if ( loader->i->loader_flags & LOADER_USE_PUTS ) {
XCALLOC_N(loader->i->N, loader->i->ekeys); XCALLOC_N(loader->i->N, loader->i->ekeys);
XCALLOC_N(loader->i->N, loader->i->evals); XCALLOC_N(loader->i->N, loader->i->evals);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment