Commit 35c57326 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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