From 5119d6f73dc5cae5e729c8ddd6332d63779d11c7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 16 Nov 2004 17:42:36 +0200 Subject: [PATCH] Fixing a linking problem that occurs with some compilers, due to unresolved symbols. --- sql/ha_innodb.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 650cb86e253..3ee7c323cb3 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -4687,7 +4687,7 @@ ha_innobase::get_foreign_key_list(THD *thd, List *f_key_list) update_thd(current_thd); prebuilt->trx->op_info = (char*)"getting list of foreign keys"; trx_search_latch_release_if_reserved(prebuilt->trx); - mutex_enter(&(dict_sys->mutex)); + mutex_enter_noninline(&(dict_sys->mutex)); foreign = UT_LIST_GET_FIRST(prebuilt->table->foreign_list); while (foreign != NULL) @@ -4768,7 +4768,7 @@ ha_innobase::get_foreign_key_list(THD *thd, List *f_key_list) f_key_list->push_back(pf_key_info); foreign = UT_LIST_GET_NEXT(foreign_list, foreign); } - mutex_exit(&(dict_sys->mutex)); + mutex_exit_noninline(&(dict_sys->mutex)); prebuilt->trx->op_info = (char*)""; DBUG_RETURN(0); }