summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2003-10-01 18:20:07 -0700
committerigor@rurik.mysql.com <>2003-10-01 18:20:07 -0700
commit8e5c62190f378ff6d57e44bd77536de868481af7 (patch)
treeab4010966244b960fcb1389f9520f9dc880f6c8e /sql/ha_myisam.cc
parent055daee79d955fdf6f2e9c1be64fa03bd17b65e3 (diff)
downloadmariadb-git-8e5c62190f378ff6d57e44bd77536de868481af7.tar.gz
Many files:
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)