summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2003-10-01 18:20:07 -0700
committerunknown <igor@rurik.mysql.com>2003-10-01 18:20:07 -0700
commit7de7c38f2f1b678e6d1894b94dd9abe9de9d8c70 (patch)
treeab4010966244b960fcb1389f9520f9dc880f6c8e /sql/ha_myisam.cc
parent5a85cb66be2dd3562f042d2ef08a1b2382c713e8 (diff)
downloadmariadb-git-7de7c38f2f1b678e6d1894b94dd9abe9de9d8c70.tar.gz
Many files:
Improved concurrency for key cache reassignment include/my_sys.h: Improved concurrency for key cache reassignment include/myisam.h: Improved concurrency for key cache reassignment myisam/mi_keycache.c: Improved concurrency for key cache reassignment myisam/mi_locking.c: Improved concurrency for key cache reassignment mysys/mf_keycache.c: Improved concurrency for key cache reassignment sql/ha_myisam.cc: Improved concurrency for key cache reassignment sql/sql_table.cc: Improved concurrency for key cache reassignment
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index 313d2a3eff3..e3712ae4271 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -761,7 +761,7 @@ int ha_myisam::assign_to_keycache(THD* thd, HA_CHECK_OPT *check_opt)
reassign_key_cache(key_cache_asmt, new_key_cache);
VOID(pthread_mutex_unlock(&LOCK_assign));
- error= mi_assign_to_keycache(file, map, &new_key_cache->cache);
+ error= mi_assign_to_keycache(file, map, new_key_cache, &LOCK_assign);
VOID(pthread_mutex_lock(&LOCK_assign));
if (error && !key_cache_asmt->triggered)