From 5e184e8eb1fc6d990de8ae8189455af9b9fe570d Mon Sep 17 00:00:00 2001 From: "kostja@vajra.(none)" <> Date: Tue, 15 May 2007 17:58:26 +0400 Subject: [PATCH] A post-merge fix. --- sql/sql_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 54581ac484c..25437699c21 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1871,7 +1871,7 @@ void drop_open_table(THD *thd, TABLE *table, const char *db_name, close_temporary_table(thd, table, 1, 1); else { - handlerton *table_type= table->s->db_type; + handlerton *table_type= table->s->db_type(); VOID(pthread_mutex_lock(&LOCK_open)); /* unlink_open_table() also tells threads waiting for refresh or close