mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
BUG#28838 - duplicate external_lock in mysql_alter_table
Fixed wrong test case. Added lost row that appeared after fix for this bug.
This commit is contained in:
@@ -1030,6 +1030,7 @@ select * from t2;
|
|||||||
c
|
c
|
||||||
NULL
|
NULL
|
||||||
1
|
1
|
||||||
|
Two
|
||||||
Three
|
Three
|
||||||
lock table t2 write, t3 read;
|
lock table t2 write, t3 read;
|
||||||
alter table t2 change c vc varchar(100) default "Four", rename to t1;
|
alter table t2 change c vc varchar(100) default "Four", rename to t1;
|
||||||
@@ -1046,6 +1047,7 @@ select * from t1;
|
|||||||
vc
|
vc
|
||||||
NULL
|
NULL
|
||||||
1
|
1
|
||||||
|
Two
|
||||||
Three
|
Three
|
||||||
Four
|
Four
|
||||||
drop tables t1, t3;
|
drop tables t1, t3;
|
||||||
|
Reference in New Issue
Block a user