diff options
author | unknown <monty@donna.mysql.com> | 2001-02-18 00:03:37 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-02-18 00:03:37 +0200 |
commit | f8509fecdb9a6453230e1418907a0923f002201d (patch) | |
tree | e430180603a3dd86bed056e15a90ce368911ca5a /sql/lock.cc | |
parent | 456102115c2f70982e600e40e34a10afde72c703 (diff) | |
download | mariadb-git-f8509fecdb9a6453230e1418907a0923f002201d.tar.gz |
Added locks needed for Innobase
Fixed mutex problem when doing automatic repair of MyISAM tables
Docs/manual.texi:
changelog
include/thr_lock.h:
Added TL_READ_WITH_SHARED_LOCKS for Innobase
mysql-test/r/update.result:
Added 'select' to verify update results
mysql-test/t/update.test:
Better code coverage
mysys/getvar.c:
Allow space in to --set-variable
mysys/thr_lock.c:
Added TL_READ_WITH_SHARED_LOCKS
sql/ha_myisam.cc:
Added comment
sql/lock.cc:
Added missing broadcast
sql/sql_base.cc:
Fixed some mutex problem when doing automatic repair of MyISAM tables
sql/sql_update.cc:
Purecoverage
Diffstat (limited to 'sql/lock.cc')
-rw-r--r-- | sql/lock.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/lock.cc b/sql/lock.cc index c85983b65d6..915f1831245 100644 --- a/sql/lock.cc +++ b/sql/lock.cc @@ -446,7 +446,10 @@ int lock_table_name(THD *thd, TABLE_LIST *table_list) void unlock_table_name(THD *thd, TABLE_LIST *table_list) { if (table_list->table) + { hash_delete(&open_cache, (byte*) table_list->table); + (void) pthread_cond_broadcast(&COND_refresh); + } } static bool locked_named_table(THD *thd, TABLE_LIST *table_list) |