Commit 9425333e authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2992], remove freed and db

git-svn-id: file:///svn/toku/tokudb@24903 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4d1f6ada
...@@ -20,8 +20,6 @@ extern "C" { ...@@ -20,8 +20,6 @@ extern "C" {
struct __toku_lock_tree; struct __toku_lock_tree;
struct __toku_db_internal { struct __toku_db_internal {
DB *db; // A pointer back to the DB.
int freed;
int opened; int opened;
u_int32_t open_flags; u_int32_t open_flags;
int open_mode; int open_mode;
......
...@@ -4838,8 +4838,6 @@ static int toku_db_create(DB ** db, DB_ENV * env, u_int32_t flags) { ...@@ -4838,8 +4838,6 @@ static int toku_db_create(DB ** db, DB_ENV * env, u_int32_t flags) {
} }
memset(result->i, 0, sizeof *result->i); memset(result->i, 0, sizeof *result->i);
result->i->dict_id = DICTIONARY_ID_NONE; result->i->dict_id = DICTIONARY_ID_NONE;
result->i->db = result;
result->i->freed = 0;
result->i->opened = 0; result->i->opened = 0;
result->i->open_flags = 0; result->i->open_flags = 0;
result->i->open_mode = 0; result->i->open_mode = 0;
......
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