"storage/innobase/include/row0mysql.h" did not exist on "e2f9201041551188a7b7fa26bc2daafe54269d44"
Commit 4c285fc5 authored by petr@mysql.com's avatar petr@mysql.com

fix test in --ps-protocol mode

parent df0b02d3
...@@ -1407,8 +1407,13 @@ DROP TABLE test_repair_table; ...@@ -1407,8 +1407,13 @@ DROP TABLE test_repair_table;
CREATE TABLE test_repair_table2 ( val integer ) ENGINE = CSV; CREATE TABLE test_repair_table2 ( val integer ) ENGINE = CSV;
--exec rm $MYSQLTEST_VARDIR/master-data/test/test_repair_table2.CSM --exec rm $MYSQLTEST_VARDIR/master-data/test/test_repair_table2.CSM
# should give a warning and perform autorepair
# Should give a warning and perform autorepair. We also disable ps-protocol
# here, as mysql-test eats up warnings in ps-protocol mode
--disable_ps_protocol
SELECT * from test_repair_table2; SELECT * from test_repair_table2;
--enable_ps_protocol
# this should work ok, as the table is already repaired # this should work ok, as the table is already repaired
SELECT * from test_repair_table2; SELECT * from test_repair_table2;
# check that the metafile appeared again. chop the path to it # check that the metafile appeared again. chop the path to it
...@@ -1435,7 +1440,9 @@ CREATE TABLE test_repair_table4 ( ...@@ -1435,7 +1440,9 @@ CREATE TABLE test_repair_table4 (
) ENGINE = CSV; ) ENGINE = CSV;
--exec rm $MYSQLTEST_VARDIR/master-data/test/test_repair_table4.CSM --exec rm $MYSQLTEST_VARDIR/master-data/test/test_repair_table4.CSM
--disable_ps_protocol
SELECT * FROM test_repair_table4; SELECT * FROM test_repair_table4;
--enable_ps_protocol
SELECT * FROM test_repair_table4; SELECT * FROM test_repair_table4;
CHECK TABLE test_repair_table4; CHECK TABLE test_repair_table4;
......
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