Commit 35c57326 authored by unknown's avatar unknown

Declare innobase "srv_*" variables as extern "C"


sql/mysqld.cc:
  Declare variables using "extern C" just as they are declared in srv0srv.c and set_var.cc
parent 8f7990e0
...@@ -8173,6 +8173,7 @@ my_bool innobase_log_archive, ...@@ -8173,6 +8173,7 @@ my_bool innobase_log_archive,
innobase_file_per_table, innobase_file_per_table,
innobase_locks_unsafe_for_binlog; innobase_locks_unsafe_for_binlog;
extern "C" {
ulong srv_max_buf_pool_modified_pct; ulong srv_max_buf_pool_modified_pct;
ulong srv_max_purge_lag; ulong srv_max_purge_lag;
ulong srv_auto_extend_increment; ulong srv_auto_extend_increment;
...@@ -8181,6 +8182,8 @@ ulong srv_n_free_tickets_to_enter; ...@@ -8181,6 +8182,8 @@ ulong srv_n_free_tickets_to_enter;
ulong srv_thread_sleep_delay; ulong srv_thread_sleep_delay;
ulong srv_thread_concurrency; ulong srv_thread_concurrency;
ulong srv_commit_concurrency; ulong srv_commit_concurrency;
}
#endif #endif
#ifndef WITH_NDBCLUSTER_STORAGE_ENGINE #ifndef WITH_NDBCLUSTER_STORAGE_ENGINE
......
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