Commit 3cff8476 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

replace tables in handlerton files

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46186 c7de825b-a66e-492c-adef-691d508d4ae1
parent b5fceb73
......@@ -41,14 +41,14 @@ static uchar *tokudb_get_key(TOKUDB_SHARE * share, size_t * length, my_bool not_
}
static handler *tokudb_create_handler(handlerton * hton, TABLE_SHARE * table, MEM_ROOT * mem_root);
static MYSQL_THDVAR_BOOL(commit_sync,
PLUGIN_VAR_THDLOCAL,
"sync on txn commit",
/* check */ NULL,
/* update */ NULL,
/* default*/ true
);
);
static MYSQL_THDVAR_UINT(pk_insert_mode,
0,
"set the primary key insert mode",
......@@ -58,56 +58,56 @@ static MYSQL_THDVAR_UINT(pk_insert_mode,
0, // min?
2, // max
1 // blocksize
);
);
static MYSQL_THDVAR_BOOL(load_save_space,
0,
"if on, intial loads are slower but take less space",
NULL,
NULL,
false
);
);
static MYSQL_THDVAR_BOOL(disable_slow_alter,
0,
"if on, alter tables that require copy are disabled",
NULL,
NULL,
false
);
);
static MYSQL_THDVAR_BOOL(disable_hot_alter,
0,
"if on, hot alter table is disabled",
NULL,
NULL,
false
);
);
static MYSQL_THDVAR_BOOL(create_index_online,
0,
"if on, create index done online",
NULL,
NULL,
true
);
);
static MYSQL_THDVAR_BOOL(disable_prefetching,
0,
"if on, prefetching disabled",
NULL,
NULL,
false
);
);
static MYSQL_THDVAR_BOOL(prelock_empty,
0,
"Tokudb Prelock Empty Table",
NULL,
NULL,
true
);
);
static MYSQL_THDVAR_BOOL(log_client_errors,
0,
"Tokudb Log Client Errors",
NULL,
NULL,
false
);
);
static MYSQL_THDVAR_UINT(block_size,
0,
"fractal tree block size",
......@@ -117,7 +117,7 @@ static MYSQL_THDVAR_UINT(block_size,
4096, // min
~0L, // max
1 // blocksize???
);
);
static MYSQL_THDVAR_UINT(read_block_size,
0,
"fractal tree read block size",
......@@ -127,7 +127,7 @@ static MYSQL_THDVAR_UINT(read_block_size,
4096, // min
~0L, // max
1 // blocksize???
);
);
static MYSQL_THDVAR_UINT(read_buf_size,
0,
"fractal tree read block size", //TODO: Is this a typo?
......@@ -137,7 +137,7 @@ static MYSQL_THDVAR_UINT(read_buf_size,
0, // min
1*1024*1024, // max
1 // blocksize???
);
);
static void tokudb_checkpoint_lock(THD * thd);
static void tokudb_checkpoint_unlock(THD * thd);
......@@ -165,7 +165,7 @@ static MYSQL_THDVAR_BOOL(checkpoint_lock,
NULL,
tokudb_checkpoint_lock_update,
false
);
);
static const char *tokudb_row_format_names[] = {
"tokudb_uncompressed",
......@@ -252,9 +252,6 @@ void toku_hton_assert_fail(const char* expr_as_string, const char * fun, const c
abort();
}
//my_bool tokudb_shared_data = false;
static uint32_t tokudb_init_flags =
DB_CREATE | DB_THREAD | DB_PRIVATE |
......
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