summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-02-17 02:14:37 +0200
committermonty@mashka.mysql.fi <>2003-02-17 02:14:37 +0200
commit6051b2f9988f1e317be41e49c64718cc610c1260 (patch)
tree49ba5df63376ec1ba88e54e1446b29a777bba1a9 /sql/sql_table.cc
parent153cefc61b15e182157ab7da9a14ab014c4f95de (diff)
downloadmariadb-git-6051b2f9988f1e317be41e49c64718cc610c1260.tar.gz
Fixed multi-table-delete for InnoDB tables
Novell patches
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index e8857a7faeb..31fcb0be8e3 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -174,7 +174,7 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
for (table=tables ; table ; table=table->next)
{
char *db=table->db ? table->db : thd->db;
- mysql_ha_closeall(thd, table, 1);
+ mysql_ha_closeall(thd, table);
if (!close_temporary_table(thd, db, table->real_name))
{
tmp_table_deleted=1;