Commit 23f171e4 authored by Yoni Fogel's avatar Yoni Fogel

Removed obsolete parts of toku_db_internal

git-svn-id: file:///svn/toku/tokudb@11118 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6f213717
......@@ -12,19 +12,11 @@
#include "./lock_tree/idlth.h"
#include <limits.h>
struct db_header {
int n_databases; // Or there can be >=1 named databases. This is the count.
char *database_names; // These are the names
BRT *database_brts; // These
};
struct __toku_lock_tree;
struct __toku_db_internal {
DB *db; // A pointer back to the DB.
int freed;
struct db_header *header;
int database_number; // -1 if it is the single unnamed database. Nonnengative number otherwise.
char *fname;
char *full_fname;
//int fd;
......
......@@ -3664,8 +3664,6 @@ static int toku_db_create(DB ** db, DB_ENV * env, u_int32_t flags) {
memset(result->i, 0, sizeof *result->i);
result->i->db = result;
result->i->freed = 0;
result->i->header = 0;
result->i->database_number = 0;
result->i->full_fname = 0;
result->i->open_flags = 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