diff options
author | monty@mashka.mysql.fi <> | 2003-02-17 02:14:37 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-02-17 02:14:37 +0200 |
commit | 6051b2f9988f1e317be41e49c64718cc610c1260 (patch) | |
tree | 49ba5df63376ec1ba88e54e1446b29a777bba1a9 /sql/sql_handler.cc | |
parent | 153cefc61b15e182157ab7da9a14ab014c4f95de (diff) | |
download | mariadb-git-6051b2f9988f1e317be41e49c64718cc610c1260.tar.gz |
Fixed multi-table-delete for InnoDB tables
Novell patches
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index eeaa574c69d..12e8c9e227a 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -87,18 +87,11 @@ int mysql_ha_close(THD *thd, TABLE_LIST *tables, bool dont_send_ok) return 0; } -int mysql_ha_closeall(THD *thd, TABLE_LIST *tables, bool dont_send_ok) +int mysql_ha_closeall(THD *thd, TABLE_LIST *tables) { TABLE **ptr=find_table_ptr_by_name(thd, tables->db, tables->real_name, 0); - - DBUG_ASSERT(dont_send_ok); if (*ptr) - { -// if (!dont_send_ok) VOID(pthread_mutex_lock(&LOCK_open)); close_thread_table(thd, ptr); -// if (!dont_send_ok) VOID(pthread_mutex_unlock(&LOCK_open)); - } -// if (!dont_send_ok) send_ok(&thd->net); return 0; } |