diff options
author | heikki@hundin.mysql.fi <> | 2005-01-31 22:30:40 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2005-01-31 22:30:40 +0200 |
commit | c2a59e83af0d87706f9bd7fe3f372e3b8df0b979 (patch) | |
tree | 80b0041bdd98d46cf8566f81942b69e6c5abd2b6 /sql/set_var.cc | |
parent | 6471b65ad0b56b3e7aba4dc34ac8c4fed9d91695 (diff) | |
parent | 994fc2733061a54cef24c06ef9bcc8b64017d975 (diff) | |
download | mariadb-git-c2a59e83af0d87706f9bd7fe3f372e3b8df0b979.tar.gz |
Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/heikki/mysql-4.1
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index f08d399f81c..ca7987d2636 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -333,6 +333,14 @@ sys_var_thd_storage_engine sys_storage_engine("storage_engine", &SV::table_type); #ifdef HAVE_REPLICATION sys_var_sync_binlog_period sys_sync_binlog_period("sync_binlog", &sync_binlog_period); +sys_var_thd_ulong sys_sync_replication("sync_replication", + &SV::sync_replication); +sys_var_thd_ulong sys_sync_replication_slave_id( + "sync_replication_slave_id", + &SV::sync_replication_slave_id); +sys_var_thd_ulong sys_sync_replication_timeout( + "sync_replication_timeout", + &SV::sync_replication_timeout); #endif sys_var_bool_ptr sys_sync_frm("sync_frm", &opt_sync_frm); sys_var_long_ptr sys_table_cache_size("table_cache", @@ -605,6 +613,9 @@ sys_var *sys_variables[]= &sys_storage_engine, #ifdef HAVE_REPLICATION &sys_sync_binlog_period, + &sys_sync_replication, + &sys_sync_replication_slave_id, + &sys_sync_replication_timeout, #endif &sys_sync_frm, &sys_table_cache_size, @@ -850,6 +861,9 @@ struct show_var_st init_vars[]= { {sys_storage_engine.name, (char*) &sys_storage_engine, SHOW_SYS}, #ifdef HAVE_REPLICATION {sys_sync_binlog_period.name,(char*) &sys_sync_binlog_period, SHOW_SYS}, + {sys_sync_replication.name, (char*) &sys_sync_replication, SHOW_SYS}, + {sys_sync_replication_slave_id.name, (char*) &sys_sync_replication_slave_id,SHOW_SYS}, + {sys_sync_replication_timeout.name, (char*) &sys_sync_replication_timeout,SHOW_SYS}, #endif {sys_sync_frm.name, (char*) &sys_sync_frm, SHOW_SYS}, #ifdef HAVE_TZNAME |