summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-02-17 05:43:37 +0200
committermonty@mashka.mysql.fi <>2003-02-17 05:43:37 +0200
commit90bf0744383ea17fc783e405ea4faa2d4f06ae46 (patch)
treea3fbfddbae0d5a6e600e68942bb243fadb5269aa /sql/sql_handler.cc
parent6ce8e1e7046df712f442ea96d568f5b21eeb5511 (diff)
parent6051b2f9988f1e317be41e49c64718cc610c1260 (diff)
downloadmariadb-git-90bf0744383ea17fc783e405ea4faa2d4f06ae46.tar.gz
Merge with 4.0.11 tree to get latest bug fixes
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 954dceff303..0505d2409d4 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -86,18 +86,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;
}