summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-07-31 20:52:43 +0400
committerunknown <kostja@bodhi.(none)>2007-07-31 20:52:43 +0400
commit5404ba422e35d75054d3941b6e52f237fbb46e91 (patch)
treeb62d525cf0dc72938c7a150dec144da4f8100084
parent4c11e05ad22bcb804c0f152adf958b44818930f2 (diff)
downloadmariadb-git-5404ba422e35d75054d3941b6e52f237fbb46e91.tar.gz
Post-merge fixes.
sql/sql_base.cc: Fix an incorrect manual merge.
-rw-r--r--sql/sql_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index f85f3a2884a..05c65d63d19 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1701,18 +1701,18 @@ TABLE *find_temporary_table(THD *thd, TABLE_LIST *table_list)
@retval FALSE the table was found and dropped successfully.
*/
-bool close_temporary_table(THD *thd, const char *db, const char *table_name)
+bool close_temporary_table(THD *thd, TABLE_LIST *table_list)
{
TABLE *table;
if (!(table= find_temporary_table(thd, table_list)))
return 1;
- close_temporary_table(thd, table, 1, 1);
/*
If LOCK TABLES list is not empty and contains this table,
unlock the table and remove the table from this list.
*/
mysql_lock_remove(thd, thd->locked_tables, table, FALSE);
+ close_temporary_table(thd, table, 1, 1);
return 0;
}