Commit fdb8d018 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-16262: rocksdb.issue255 test sometimes fails in buildbot

Fix an obvious typo: replace_column should be applied to SHOW TABLE STATUS,
not to SELECT * FROM t1.
parent 6e63db26
...@@ -46,7 +46,7 @@ pk ...@@ -46,7 +46,7 @@ pk
127 127
SHOW TABLE STATUS LIKE 't1'; SHOW TABLE STATUS LIKE 't1';
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
t1 ROCKSDB 10 Fixed 2 15 30 0 0 0 127 NULL NULL NULL latin1_swedish_ci NULL t1 ROCKSDB # Fixed 2 # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL
INSERT INTO t1 VALUES (); INSERT INTO t1 VALUES ();
ERROR 23000: Duplicate entry '127' for key 'PRIMARY' ERROR 23000: Duplicate entry '127' for key 'PRIMARY'
SELECT * FROM t1; SELECT * FROM t1;
......
...@@ -32,8 +32,8 @@ INSERT INTO t1 VALUES (5); ...@@ -32,8 +32,8 @@ INSERT INTO t1 VALUES (5);
SHOW TABLE STATUS LIKE 't1'; SHOW TABLE STATUS LIKE 't1';
INSERT INTO t1 VALUES (1000); INSERT INTO t1 VALUES (1000);
--replace_column 3 # 6 # 7 # 8 # 9 # 10 #
SELECT * FROM t1; SELECT * FROM t1;
--replace_column 3 # 6 # 7 # 8 # 9 # 10 #
SHOW TABLE STATUS LIKE 't1'; SHOW TABLE STATUS LIKE 't1';
--error ER_DUP_ENTRY --error ER_DUP_ENTRY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment