1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug#30294 blackhole engine causes 100% with 2 alter table statements running

Implement neccessary shared lock structure for table locks.
This is the backport of bug26241 fix.
This commit is contained in:
gluh@mysql.com/eagle.(none)
2007-11-16 14:46:36 +04:00
parent b56f668ca3
commit f4c2eff997
3 changed files with 132 additions and 12 deletions

View File

@ -515,6 +515,10 @@ int ha_panic(enum ha_panic_function flag)
if (have_berkeley_db == SHOW_OPTION_YES)
error|=berkeley_end();
#endif
#ifdef HAVE_BLACKHOLE_DB
if (have_blackhole_db == SHOW_OPTION_YES)
error|= blackhole_db_end();
#endif
#ifdef HAVE_INNOBASE_DB
if (have_innodb == SHOW_OPTION_YES)
error|=innobase_end();