Commit bcd42434 authored by unknown's avatar unknown

Merge dev3-63.(none):/home/zhl/mysql/mysql-5.0/bug26675

into  dev3-63.(none):/home/zhl/mysql/mysql-5.1/bug26675


sql/ha_ndbcluster.h:
  remove extern opot_ndb_constrbuf[] in 5.1
sql/set_var.cc:
  add opt_ndb_constrbuf variable
parents 0679e0a6 1d75566c
...@@ -95,6 +95,7 @@ extern ulong srv_flush_log_at_trx_commit; ...@@ -95,6 +95,7 @@ extern ulong srv_flush_log_at_trx_commit;
/* WITH_NDBCLUSTER_STORAGE_ENGINE */ /* WITH_NDBCLUSTER_STORAGE_ENGINE */
extern ulong ndb_cache_check_time; extern ulong ndb_cache_check_time;
extern char opt_ndb_constrbuf[];
extern ulong ndb_extra_logging; extern ulong ndb_extra_logging;
#ifdef HAVE_NDB_BINLOG #ifdef HAVE_NDB_BINLOG
extern ulong ndb_report_thresh_binlog_epoch_slip; extern ulong ndb_report_thresh_binlog_epoch_slip;
...@@ -547,6 +548,8 @@ sys_var_thd_bool ...@@ -547,6 +548,8 @@ sys_var_thd_bool
sys_ndb_use_transactions("ndb_use_transactions", &SV::ndb_use_transactions); sys_ndb_use_transactions("ndb_use_transactions", &SV::ndb_use_transactions);
sys_var_long_ptr sys_var_long_ptr
sys_ndb_cache_check_time("ndb_cache_check_time", &ndb_cache_check_time); sys_ndb_cache_check_time("ndb_cache_check_time", &ndb_cache_check_time);
sys_var_const_str
sys_ndb_connectstring("ndb_connectstring", opt_ndb_constrbuf);
sys_var_thd_bool sys_var_thd_bool
sys_ndb_index_stat_enable("ndb_index_stat_enable", sys_ndb_index_stat_enable("ndb_index_stat_enable",
&SV::ndb_index_stat_enable); &SV::ndb_index_stat_enable);
...@@ -924,6 +927,7 @@ SHOW_VAR init_vars[]= { ...@@ -924,6 +927,7 @@ SHOW_VAR init_vars[]= {
{sys_ndb_autoincrement_prefetch_sz.name, {sys_ndb_autoincrement_prefetch_sz.name,
(char*) &sys_ndb_autoincrement_prefetch_sz, SHOW_SYS}, (char*) &sys_ndb_autoincrement_prefetch_sz, SHOW_SYS},
{sys_ndb_cache_check_time.name,(char*) &sys_ndb_cache_check_time, SHOW_SYS}, {sys_ndb_cache_check_time.name,(char*) &sys_ndb_cache_check_time, SHOW_SYS},
{sys_ndb_connectstring.name,(char*) &sys_ndb_connectstring, SHOW_SYS},
{sys_ndb_extra_logging.name,(char*) &sys_ndb_extra_logging, SHOW_SYS}, {sys_ndb_extra_logging.name,(char*) &sys_ndb_extra_logging, SHOW_SYS},
{sys_ndb_force_send.name, (char*) &sys_ndb_force_send, SHOW_SYS}, {sys_ndb_force_send.name, (char*) &sys_ndb_force_send, SHOW_SYS},
{sys_ndb_index_stat_cache_entries.name, (char*) &sys_ndb_index_stat_cache_entries, SHOW_SYS}, {sys_ndb_index_stat_cache_entries.name, (char*) &sys_ndb_index_stat_cache_entries, SHOW_SYS},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment