Debian Codegraph @

mysql-test/suite/ndb/t/ndb_create_stored_user.test

raw
1 --source include/have_ndb.inc
2
3 #
4 # Bug#32424653 PARALLEL 'CREATE USER' HANGS ON BOTH MYSQLDS
5 #
6 --disable_result_log
7 --connect(s1,127.0.0.1,root,,test,$MASTER_MYPORT,)
8 --connect(s2,127.0.0.1,root,,test,$MASTER_MYPORT1,)
9
10 --connection s2
11 call mtr.add_suppression("did not acquire snapshot lock");
12
13 --connection s1
14 call mtr.add_suppression("did not acquire snapshot lock");
15
16 --connection s1
17 CREATE USER IF NOT EXISTS "tx"@"localhost";
18 send GRANT NDB_STORED_USER ON *.* TO "tx"@"localhost";
19
20 --connection s2
21 CREATE USER IF NOT EXISTS "tx"@"localhost";
22 GRANT NDB_STORED_USER ON *.* TO "tx"@"localhost";
23
24 --connection s1
25 --reap
26
27 SLEEP 1;
28 DROP USER "tx"@"localhost";
29
30 --disconnect s1
31 --disconnect s2
32 --enable_result_log