Commit fa00e966 authored by Rich Prohaska's avatar Rich Prohaska

fix the set_errcall signature. addresses #246

git-svn-id: file:///svn/tokudb@1552 c7de825b-a66e-492c-adef-691d508d4ae1
parent bf90221f
...@@ -116,7 +116,7 @@ int DbEnv::get_flags(u_int32_t *flagsp) { ...@@ -116,7 +116,7 @@ int DbEnv::get_flags(u_int32_t *flagsp) {
return maybe_throw_error(ret); return maybe_throw_error(ret);
} }
extern "C" void toku_db_env_errcall_c(DB_ENV *dbenv_c, const char *errpfx, const char *msg) { extern "C" void toku_db_env_errcall_c(const DB_ENV *dbenv_c, const char *errpfx, const char *msg) {
DbEnv *dbenv = (DbEnv *) dbenv_c->api1_internal; DbEnv *dbenv = (DbEnv *) dbenv_c->api1_internal;
dbenv->errcall(dbenv, errpfx, msg); dbenv->errcall(dbenv, errpfx, msg);
} }
......
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