summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-11-22 01:08:15 +0200
committerMonty <monty@mariadb.org>2018-11-22 01:08:15 +0200
commit0fe90263c820d0972ae5dc9d201ea5a68214c710 (patch)
tree9723adf3277fa847a556c207e38e46dc17d90cd2 /storage
parent9fdb8c59eb297c6acb15345ae732678d0d8ee838 (diff)
downloadmariadb-git-0fe90263c820d0972ae5dc9d201ea5a68214c710.tar.gz
Fixed compiler warnings in tokudb_sysvars.cc
Diffstat (limited to 'storage')
-rw-r--r--storage/tokudb/tokudb_sysvars.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/tokudb/tokudb_sysvars.cc b/storage/tokudb/tokudb_sysvars.cc
index 1e841f3b959..c561fb65dc8 100644
--- a/storage/tokudb/tokudb_sysvars.cc
+++ b/storage/tokudb/tokudb_sysvars.cc
@@ -892,6 +892,7 @@ static MYSQL_THDVAR_ULONGLONG(
1);
#endif // defined(TOKU_INCLUDE_RFR) && TOKU_INCLUDE_RFR
+#if defined(TOKU_INCLUDE_UPSERT)
static MYSQL_THDVAR_BOOL(
enable_fast_update,
PLUGIN_VAR_THDLOCAL,
@@ -900,13 +901,14 @@ static MYSQL_THDVAR_BOOL(
NULL,
false);
-static MYSQL_THDVAR_BOOL(
+ static MYSQL_THDVAR_BOOL(
enable_fast_upsert,
PLUGIN_VAR_THDLOCAL,
"disable slow upsert",
NULL,
NULL,
false);
+#endif
#if TOKU_INCLUDE_XA
static MYSQL_THDVAR_BOOL(