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
This commit is contained in:
unknown 2006-03-28 19:27:38 +02:00
parent 8f7990e0c0
commit 35c5732630

View file

@ -8173,6 +8173,7 @@ my_bool innobase_log_archive,
innobase_file_per_table,
innobase_locks_unsafe_for_binlog;
extern "C" {
ulong srv_max_buf_pool_modified_pct;
ulong srv_max_purge_lag;
ulong srv_auto_extend_increment;
@ -8181,6 +8182,8 @@ ulong srv_n_free_tickets_to_enter;
ulong srv_thread_sleep_delay;
ulong srv_thread_concurrency;
ulong srv_commit_concurrency;
}
#endif
#ifndef WITH_NDBCLUSTER_STORAGE_ENGINE