Commit bb6ed2b
committed
PS-9293, PS-9328: Fix innodb.parallel_read_kill test failures.
After Upstream's fix for bug#35952353 "SELECT COUNT(*) degraded performance on
8.0 compared to 5.7" (mysql/mysql-server@ffad6cf)
MySQL stopped using parallel read for COUNT(*) evaluation when secondary index
scan is used.
As result innodb.parallel_read_kill test started to fail, as it employed
COUNT(*) that used secondary index scan to test InnoDB parallel read
killability. The parallel read code is simply no longer invoked causing
DEBUG_SYNC time out.
This patch fixes the failure by forcing the test to use COUNT(*) that
uses primary key scan, which is still processed using parallel read,
instead.1 parent 646a7cf commit bb6ed2b
File tree
2 files changed
+4
-4
lines changed- mysql-test/suite/innodb
- r
- t
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments