summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2005-04-27 13:36:58 +0300
committerheikki@hundin.mysql.fi <>2005-04-27 13:36:58 +0300
commitab0dbb1fc6fc5a87c5a6b88d53a7ffef6ba618ea (patch)
tree1c4cccd62713546b2e597b74ddb98d65bf6e0316 /sql/mysqld.cc
parente93f8ec420cfe6145bdfb32666bfe4c903ea20f6 (diff)
downloadmariadb-git-ab0dbb1fc6fc5a87c5a6b88d53a7ffef6ba618ea.tar.gz
ha_innodb.cc, mysqld.cc:
Fix compilation error if HAVE_REPLICATION is not defined
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index f1efe0330db..169c9e057b5 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -5495,6 +5495,7 @@ The minimum value for this variable is 4096.",
{"sync-frm", OPT_SYNC_FRM, "Sync .frm to disk on create. Enabled by default.",
(gptr*) &opt_sync_frm, (gptr*) &opt_sync_frm, 0, GET_BOOL, NO_ARG, 1, 0,
0, 0, 0, 0},
+#ifdef HAVE_REPLICATION
{"sync-replication", OPT_SYNC_REPLICATION,
"Enable synchronous replication.",
(gptr*) &global_system_variables.sync_replication,
@@ -5510,6 +5511,7 @@ The minimum value for this variable is 4096.",
(gptr*) &global_system_variables.sync_replication_timeout,
(gptr*) &global_system_variables.sync_replication_timeout,
0, GET_ULONG, REQUIRED_ARG, 10, 0, ~0L, 0, 1, 0},
+#endif /* HAVE_REPLICATION */
{"table_cache", OPT_TABLE_CACHE,
"The number of open tables for all threads.", (gptr*) &table_cache_size,
(gptr*) &table_cache_size, 0, GET_ULONG, REQUIRED_ARG, 64, 1, 512*1024L,