Commit feca392
Varun Deep Saini
MDEV-39013: Fix flaky main.tmp_space_usage test
Reading information_schema.session_status with tmp_memory_table_size=0
forces the query's internal temp table to disk, which changes
tmp_space_used as a side effect of reading it. By the time connection
c1 reads the value from processlist, it sees the inflated value.
Fix by temporarily setting tmp_memory_table_size high before the
session_status read, same pattern already used earlier in the test
(lines 72-77) for the same reason.
Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>1 parent d477356 commit feca392
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| |||
0 commit comments