Skip to content

Commit 0fe9026

Browse files
committed
Fixed compiler warnings in tokudb_sysvars.cc
1 parent 9fdb8c5 commit 0fe9026

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

storage/tokudb/tokudb_sysvars.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,7 @@ static MYSQL_THDVAR_ULONGLONG(
892892
1);
893893
#endif // defined(TOKU_INCLUDE_RFR) && TOKU_INCLUDE_RFR
894894

895+
#if defined(TOKU_INCLUDE_UPSERT)
895896
static MYSQL_THDVAR_BOOL(
896897
enable_fast_update,
897898
PLUGIN_VAR_THDLOCAL,
@@ -900,13 +901,14 @@ static MYSQL_THDVAR_BOOL(
900901
NULL,
901902
false);
902903

903-
static MYSQL_THDVAR_BOOL(
904+
static MYSQL_THDVAR_BOOL(
904905
enable_fast_upsert,
905906
PLUGIN_VAR_THDLOCAL,
906907
"disable slow upsert",
907908
NULL,
908909
NULL,
909910
false);
911+
#endif
910912

911913
#if TOKU_INCLUDE_XA
912914
static MYSQL_THDVAR_BOOL(

0 commit comments

Comments
 (0)