Commit 5384cce5 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5101 log compare is dead code


git-svn-id: file:///svn/toku/tokudb@48097 c7de825b-a66e-492c-adef-691d508d4ae1
parent 40a8a0b5
......@@ -4,7 +4,6 @@
db_env_create;
db_strerror;
db_version;
log_compare;
db_env_set_func_fsync;
db_env_set_func_malloc;
db_env_set_func_realloc;
......
......@@ -46,7 +46,7 @@ def main():
exceptsymbols = {}
for n in [ "_init", "_fini", "_end", "_edata", "__bss_start" ]:
exceptsymbols[n] = 1
for n in [ "db_env_create", "db_create", "db_strerror", "db_version", "log_compare",
for n in [ "db_env_create", "db_create", "db_strerror", "db_version",
"db_env_set_func_fsync",
"db_env_set_func_free",
"db_env_set_func_malloc",
......
......@@ -2293,13 +2293,6 @@ DB_ENV_CREATE_FUN (DB_ENV ** envp, uint32_t flags) {
return r;
}
int
log_compare(const DB_LSN * a, const DB_LSN * b) {
fprintf(stderr, "%s:%d log_compare(%p,%p)\n", __FILE__, __LINE__, a, b);
assert(0);
return 0;
}
// return 0 if v and dbv refer to same db (including same dname)
// return <0 if v is earlier in omt than dbv
// return >0 if v is later in omt than dbv
......
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