mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
added building without query cache
This commit is contained in:
@@ -324,7 +324,7 @@ int mysql_update(THD *thd,
|
||||
thd->lock=0;
|
||||
}
|
||||
if (updated)
|
||||
query_cache.invalidate(thd, table_list, 1);
|
||||
query_cache_invalidate3(thd, table_list, 1);
|
||||
|
||||
delete select;
|
||||
if (error >= 0)
|
||||
@@ -788,7 +788,7 @@ bool multi_update::send_eof()
|
||||
sprintf(buff,ER(ER_UPDATE_INFO), (long) found, (long) updated,
|
||||
(long) thd->cuted_fields);
|
||||
if (updated)
|
||||
query_cache.invalidate(thd, update_tables, 1);
|
||||
query_cache_invalidate3(thd, update_tables, 1);
|
||||
|
||||
::send_ok(&thd->net,
|
||||
(thd->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated,
|
||||
|
Reference in New Issue
Block a user