|
4 | 4 | # Test requires: sp-protocol/ps-protocol/view-protocol/cursor-protocol disabled
|
5 | 5 | --source include/no_protocol.inc
|
6 | 6 |
|
| 7 | +# Increase the size of performance_schema_events_waits_history_long_size so |
| 8 | +# that the table doesn't get truncated when running full. |
| 9 | +let $restart_parameters=restart: --performance_schema_events_waits_history_long_size=20000; |
| 10 | +--source include/restart_mysqld.inc |
| 11 | + |
7 | 12 | create user user1@localhost;
|
8 | 13 | create user user2@localhost;
|
9 | 14 | create user user3@localhost;
|
@@ -237,7 +242,7 @@ eval select EVENT_NAME from performance_schema.events_waits_current
|
237 | 242 | order by THREAD_ID, EVENT_ID;
|
238 | 243 | eval select (count(*) > 5) as has_waits from performance_schema.events_waits_history
|
239 | 244 | where THREAD_ID = $con1_thread_id;
|
240 |
| -eval select (count(*) > 16) as has_waits from performance_schema.events_waits_history_long |
| 245 | +eval select (count(*) > 15) as has_waits from performance_schema.events_waits_history_long |
241 | 246 | where THREAD_ID = $con1_thread_id;
|
242 | 247 |
|
243 | 248 | echo "=========================== Waits user 2";
|
@@ -667,7 +672,7 @@ eval select EVENT_NAME from performance_schema.events_waits_current
|
667 | 672 | order by THREAD_ID, EVENT_ID;
|
668 | 673 | eval select (count(*) > 5) as has_waits from performance_schema.events_waits_history
|
669 | 674 | where THREAD_ID = $con1_thread_id;
|
670 |
| -eval select (count(*) > 16) as has_waits from performance_schema.events_waits_history_long |
| 675 | +eval select (count(*) > 15) as has_waits from performance_schema.events_waits_history_long |
671 | 676 | where THREAD_ID = $con1_thread_id;
|
672 | 677 |
|
673 | 678 | echo "=========================== Waits user 2";
|
|
0 commit comments