Debian Codegraph @

mysql-test/suite/ndb/r/ndb_tctakeover.result

raw
1 call mtr.add_suppression("Failed to release global schema lock");
2 create table t (x int primary key, y int) engine ndbcluster partition by key() partitions 4;
3 begin;
4 insert into t values (3,3);
5 insert into t values (1,1);
6 insert into t values (0,0);
7 insert into t values (2,2);
8 insert into t values (4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
9 insert into t select x + 10, y + 10 from t;
10 insert into t select x + 20, y + 20 from t;
11 insert into t select x + 40, y + 40 from t;
12 show warnings;
13 Level Code Message
14 insert into t select x + 80, y + 80 from t;
15 Warnings:
16 Warning 1296 Got error 261 'DML count in transaction exceeds config parameter MaxDMLOperationsPerTransaction/MaxNoOfConcurrentOp' from NDB
17
18 commit;
19 ERROR HY000: Got error 125 - 'Transaction has been rolled back' during COMMIT
20 show warnings;
21 Level Code Message
22 Warning 1296 Got error 4350 'Transaction already aborted' from NDB
23 Error 1180 Got error 125 - 'Transaction has been rolled back' during COMMIT
24 ROWID x y
25 0 rows returned
26 select * from t;
27 x y
28 drop table t;