diff options
author | unknown <monty@hundin.mysql.fi> | 2002-04-29 12:24:14 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-04-29 12:24:14 +0300 |
commit | 4c76a1c8961457d428e0f1734a9f239de1827260 (patch) | |
tree | 5622a481c28e42581626ad05e58e4afaab88bd0f /sql/sql_delete.cc | |
parent | 2ddd3d219d2cc797b236faaab95449905b4402b2 (diff) | |
download | mariadb-git-4c76a1c8961457d428e0f1734a9f239de1827260.tar.gz |
Fixed that enable-reads-from-master and repl-parse-query works in option files.
Fixed slowdown problem on win98
Fixed syntax for ALTER TABLE .. RENAME
Docs/manual.texi:
changelog
libmysql/libmysql.c:
Fixed that enable-reads-from-master and repl-parse-query works in option files.
myisam/ft_boolean_search.c:
Portability fixes
mysys/my_thr_init.c:
cleanup
sql/sql_base.cc:
Fixed slowdown problem on win98
sql/sql_delete.cc:
Removed compiler warnings
sql/sql_insert.cc:
Removed compiler warnings
sql/sql_update.cc:
Removed compiler warnings
sql/sql_yacc.yy:
Fixed syntax for ALTER TABLE .. RENAME
vio/vio.c:
Added test of OS2
vio/viosocket.c:
cleanup
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index f5a5a684fc0..9d1037a9dc7 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -182,7 +182,9 @@ cleanup: thd->lock=0; } if (deleted) - query_cache_invalidate3(thd, table_list, 1); + { + query_cache_invalidate3(thd, table_list, 1); + } delete select; if (error >= 0) // Fatal error send_error(&thd->net,thd->killed ? ER_SERVER_SHUTDOWN: 0); @@ -470,7 +472,9 @@ bool multi_delete::send_eof() VOID(ha_autocommit_or_rollback(thd,error > 0)); } if (deleted) + { query_cache_invalidate3(thd, delete_tables, 1); + } ::send_ok(&thd->net,deleted); return 0; } |