Commit c24b4b9
MDEV-36949 : unstable autoincrement value in galera_toi_ddl_nonconflicting test
Remove show create table because,
Test has two concurrent statements:
(1) ALTER TABLE t1 ADD COLUMN f3 INTEGER; INSERT INTO t1 VALUES (NULL, 10000, 10000);
(2) CREATE UNIQUE INDEX i1 ON t1(f2);
If INSERT starts execution and reaches certifying state and execution
is switched to CREATE, there will be MDL-conflict. This MDL-conflict is
resolved by BF-abort (brute force abort) i.e. INSERT is aborted.
But it has already acquired value for auto_increment
column from InnoDB. INSERT is then retryed and that will cause
new auto_increment value generation. Therefore, later SHOW CREATE
TABLE could show unstable values i.e. either value that is generated
on schedule where there was no retry and value where there was a retry.
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>1 parent 23b4431 commit c24b4b9
File tree
2 files changed
+0
-20
lines changed- mysql-test/suite/galera
- r
- t
2 files changed
+0
-20
lines changedLines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
| |||
54 | 45 | | |
55 | 46 | | |
56 | 47 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 48 | | |
67 | 49 | | |
68 | 50 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
0 commit comments