From d670ba1e8d158ded1d1bcd9f68891bc9c4ddf952 Mon Sep 17 00:00:00 2001 From: "msvensson@shellback." <> Date: Tue, 28 Mar 2006 19:27:38 +0200 Subject: [PATCH] Declare innobase "srv_*" variables as extern "C" --- sql/mysqld.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/mysqld.cc b/sql/mysqld.cc index ccb74730bc3..584c3727dd6 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -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