Skip to content

Commit c4ce789

Browse files
phulakundahlerlend
authored andcommitted
WL#7167 - Change DDL to update rows for view columns in DD.COLUMNS and other dependent values.
This is a post-push patch to fix wrongly recorded result for test commit_1innodb.test.
1 parent 9f22350 commit c4ce789

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

mysql-test/include/commit.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,11 +859,11 @@ if (`SELECT $PS_PROTOCOL > 0`)
859859
call p_verify_status_increment(10, 0, 4, 4);
860860
}
861861
alter table t3 add column (b int);
862-
call p_verify_status_increment(10, 0, 2, 0);
862+
call p_verify_status_increment(11, 0, 2, 0);
863863
alter table t3 rename t4;
864864
call p_verify_status_increment(7, 0, 3, 0);
865865
rename table t4 to t3;
866-
call p_verify_status_increment(7, 0, 5, 0);
866+
call p_verify_status_increment(9, 0, 5, 0);
867867
truncate table t3;
868868
call p_verify_status_increment(2, 0, 4, 0);
869869
create view v1 as select * from t2;

mysql-test/r/commit_1innodb.result

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -843,17 +843,17 @@ call p_verify_status_increment(<commit_count>, 0, 4, 4);
843843
SUCCESS
844844

845845
alter table t3 add column (b int);
846-
call p_verify_status_increment(10, 0, 2, 0);
847-
ERROR
848-
Expected commit increment: 10 actual: 11
846+
call p_verify_status_increment(11, 0, 2, 0);
847+
SUCCESS
848+
849849
alter table t3 rename t4;
850850
call p_verify_status_increment(7, 0, 3, 0);
851851
SUCCESS
852852

853853
rename table t4 to t3;
854-
call p_verify_status_increment(7, 0, 5, 0);
855-
ERROR
856-
Expected commit increment: 7 actual: 9
854+
call p_verify_status_increment(9, 0, 5, 0);
855+
SUCCESS
856+
857857
truncate table t3;
858858
call p_verify_status_increment(2, 0, 4, 0);
859859
SUCCESS

0 commit comments

Comments
 (0)