mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
- Fixes query cache so that it is aware of wsrep_sync_wait. Query cache would return (possibly stale) results to the client, regardless of the value of wsrep_sync_wait. - Includes the test case that reproduced the issue.
5 lines
170 B
Plaintext
5 lines
170 B
Plaintext
CREATE TABLE t1 (id INT PRIMARY KEY AUTO_INCREMENT) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (DEFAULT);
|
|
SET GLOBAL query_cache_size=1355776;
|
|
SET SESSION wsrep_sync_wait = 7;
|