| 1 |
# Test that ACL DDL blocks concurrent FLUSH PRIVILEGES |
| 2 |
# in various isolation modes. |
| 3 |
|
| 4 |
# Run it only if --big-test option is specified |
| 5 |
-- source include/big_test.inc |
| 6 |
|
| 7 |
# Run this test only for debug builds and with debug_sync enabled |
| 8 |
--source include/have_debug.inc |
| 9 |
--source include/have_debug_sync.inc |
| 10 |
|
| 11 |
# Save the initial number of concurrent sessions |
| 12 |
--source include/count_sessions.inc |
| 13 |
|
| 14 |
--let ISOLATION_LEVEL=READ-UNCOMMITTED |
| 15 |
--source ../include/acl_tables_locking_tests_big_debug_1.inc |
| 16 |
|
| 17 |
--let ISOLATION_LEVEL=READ-COMMITTED |
| 18 |
--source ../include/acl_tables_locking_tests_big_debug_1.inc |
| 19 |
|
| 20 |
--let ISOLATION_LEVEL=REPEATABLE-READ |
| 21 |
--source ../include/acl_tables_locking_tests_big_debug_1.inc |
| 22 |
|
| 23 |
--let ISOLATION_LEVEL=SERIALIZABLE |
| 24 |
--source ../include/acl_tables_locking_tests_big_debug_1.inc |
| 25 |
|
| 26 |
# Wait till we reached the initial number of concurrent sessions |
| 27 |
--source include/wait_until_count_sessions.inc |