|
|
@ -107,6 +107,7 @@ static ulong tokudb_max_lock; |
|
|
static const char tokudb_hton_name[] = "TokuDB"; |
|
|
static const char tokudb_hton_name[] = "TokuDB"; |
|
|
static const int tokudb_hton_name_length = sizeof(tokudb_hton_name) - 1; |
|
|
static const int tokudb_hton_name_length = sizeof(tokudb_hton_name) - 1; |
|
|
static u_int32_t tokudb_checkpointing_period; |
|
|
static u_int32_t tokudb_checkpointing_period; |
|
|
|
|
|
my_bool tokudb_prelock_empty; |
|
|
#ifdef TOKUDB_VERSION
|
|
|
#ifdef TOKUDB_VERSION
|
|
|
char *tokudb_version = TOKUDB_VERSION; |
|
|
char *tokudb_version = TOKUDB_VERSION; |
|
|
#else
|
|
|
#else
|
|
|
@ -766,6 +767,7 @@ static MYSQL_SYSVAR_STR(version, tokudb_version, PLUGIN_VAR_READONLY, "TokuDB Ve |
|
|
static MYSQL_SYSVAR_UINT(init_flags, tokudb_init_flags, PLUGIN_VAR_READONLY, "Sets TokuDB DB_ENV->open flags", NULL, NULL, tokudb_init_flags, 0, ~0, 0); |
|
|
static MYSQL_SYSVAR_UINT(init_flags, tokudb_init_flags, PLUGIN_VAR_READONLY, "Sets TokuDB DB_ENV->open flags", NULL, NULL, tokudb_init_flags, 0, ~0, 0); |
|
|
|
|
|
|
|
|
static MYSQL_SYSVAR_UINT(checkpointing_period, tokudb_checkpointing_period, 0, "TokuDB Checkpointing period", NULL, NULL, 60, 0, ~0L, 0); |
|
|
static MYSQL_SYSVAR_UINT(checkpointing_period, tokudb_checkpointing_period, 0, "TokuDB Checkpointing period", NULL, NULL, 60, 0, ~0L, 0); |
|
|
|
|
|
static MYSQL_SYSVAR_BOOL(prelock_empty, tokudb_prelock_empty, 0, "Tokudb Shared Data", NULL, NULL, TRUE); |
|
|
#if 0
|
|
|
#if 0
|
|
|
|
|
|
|
|
|
static MYSQL_SYSVAR_ULONG(cache_parts, tokudb_cache_parts, PLUGIN_VAR_READONLY, "Sets TokuDB set_cache_parts", NULL, NULL, 0, 0, ~0L, 0); |
|
|
static MYSQL_SYSVAR_ULONG(cache_parts, tokudb_cache_parts, PLUGIN_VAR_READONLY, "Sets TokuDB set_cache_parts", NULL, NULL, 0, 0, ~0L, 0); |
|
|
@ -805,6 +807,7 @@ static struct st_mysql_sys_var *tokudb_system_variables[] = { |
|
|
MYSQL_SYSVAR(version), |
|
|
MYSQL_SYSVAR(version), |
|
|
MYSQL_SYSVAR(init_flags), |
|
|
MYSQL_SYSVAR(init_flags), |
|
|
MYSQL_SYSVAR(checkpointing_period), |
|
|
MYSQL_SYSVAR(checkpointing_period), |
|
|
|
|
|
MYSQL_SYSVAR(prelock_empty), |
|
|
#if 0
|
|
|
#if 0
|
|
|
MYSQL_SYSVAR(cache_parts), |
|
|
MYSQL_SYSVAR(cache_parts), |
|
|
MYSQL_SYSVAR(env_flags), |
|
|
MYSQL_SYSVAR(env_flags), |
|
|
|