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

A post-merge fix.

This commit is contained in:
kostja@vajra.(none)
2007-05-15 17:58:26 +04:00
parent 0a061c902b
commit 5e184e8eb1

View File

@ -1871,7 +1871,7 @@ void drop_open_table(THD *thd, TABLE *table, const char *db_name,
close_temporary_table(thd, table, 1, 1); close_temporary_table(thd, table, 1, 1);
else else
{ {
handlerton *table_type= table->s->db_type; handlerton *table_type= table->s->db_type();
VOID(pthread_mutex_lock(&LOCK_open)); VOID(pthread_mutex_lock(&LOCK_open));
/* /*
unlink_open_table() also tells threads waiting for refresh or close unlink_open_table() also tells threads waiting for refresh or close