summaryrefslogtreecommitdiff
path: root/storage/tokudb/hatoku_hton.cc
diff options
context:
space:
mode:
authorRich Prohaska <prohaska@tokutek.com>2013-04-17 00:02:18 -0400
committerYoni Fogel <yoni@tokutek.com>2013-04-17 00:02:18 -0400
commitc90e932dff344c620514fd72341bc828c3d474c3 (patch)
treebc9df9d986774b2b6aa2bed35fc5885956a99e1b /storage/tokudb/hatoku_hton.cc
parent2cfb7b0af2f01e5d2d902dfbec9f843641db8b43 (diff)
downloadmariadb-git-c90e932dff344c620514fd72341bc828c3d474c3.tar.gz
refs #6022 always compile analyze into the code
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@53996 c7de825b-a66e-492c-adef-691d508d4ae1
Diffstat (limited to 'storage/tokudb/hatoku_hton.cc')
-rw-r--r--storage/tokudb/hatoku_hton.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc
index 37af3a59991..ae82fb198c3 100644
--- a/storage/tokudb/hatoku_hton.cc
+++ b/storage/tokudb/hatoku_hton.cc
@@ -155,7 +155,6 @@ static MYSQL_THDVAR_BOOL(disable_slow_upsert,
false // default
);
#endif
-#if TOKU_INCLUDE_ANALYZE
static MYSQL_THDVAR_UINT(analyze_time,
0,
"analyze time",
@@ -166,7 +165,6 @@ static MYSQL_THDVAR_UINT(analyze_time,
~0U, // max
1 // blocksize???
);
-#endif
static void tokudb_checkpoint_lock(THD * thd);
static void tokudb_checkpoint_unlock(THD * thd);
@@ -724,11 +722,9 @@ bool get_disable_slow_upsert(THD *thd) {
return (THDVAR(thd, disable_slow_upsert) != 0);
}
#endif
-#if TOKU_INCLUDE_ANALYZE
uint get_analyze_time(THD *thd) {
return THDVAR(thd, analyze_time);
}
-#endif
typedef struct txn_progress_info {
char status[200];
@@ -1930,9 +1926,7 @@ static struct st_mysql_sys_var *tokudb_system_variables[] = {
MYSQL_SYSVAR(disable_slow_update),
MYSQL_SYSVAR(disable_slow_upsert),
#endif
-#if TOKU_INCLUDE_ANALYZE
MYSQL_SYSVAR(analyze_time),
-#endif
NULL
};