1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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
This commit is contained in:
monty@hundin.mysql.fi
2002-04-29 12:24:14 +03:00
parent 36f81cb5f0
commit 9d0f8a1b5f
11 changed files with 45 additions and 29 deletions

View File

@@ -324,7 +324,9 @@ int mysql_update(THD *thd,
thd->lock=0;
}
if (updated)
{
query_cache_invalidate3(thd, table_list, 1);
}
delete select;
if (error >= 0)
@@ -788,8 +790,9 @@ bool multi_update::send_eof()
sprintf(buff,ER(ER_UPDATE_INFO), (long) found, (long) updated,
(long) thd->cuted_fields);
if (updated)
{
query_cache_invalidate3(thd, update_tables, 1);
}
::send_ok(&thd->net,
(thd->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated,
thd->insert_id_used ? thd->insert_id() : 0L,buff);