diff options
author | unknown <petr@mysql.com> | 2006-03-29 15:37:42 +0400 |
---|---|---|
committer | unknown <petr@mysql.com> | 2006-03-29 15:37:42 +0400 |
commit | 41e110f777fc65412085169fedc45f47cde9839c (patch) | |
tree | e9f1f9ab3e25cf2ac466708c6e38d57322c801ea /mysql-test/t/csv.test | |
parent | 077b4888c32faecdb4a2ca7236a3bb2d1ef8dafa (diff) | |
download | mariadb-git-41e110f777fc65412085169fedc45f47cde9839c.tar.gz |
fix test in --ps-protocol mode
mysql-test/t/csv.test:
fix test. In --ps-protocol mode warnings are eaten by the test suite.
Disable ps-protocol mode for the statements, which throw the warnings
we look for.
Diffstat (limited to 'mysql-test/t/csv.test')
-rw-r--r-- | mysql-test/t/csv.test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/t/csv.test b/mysql-test/t/csv.test index b72d4cc92be..08237701d3a 100644 --- a/mysql-test/t/csv.test +++ b/mysql-test/t/csv.test @@ -1407,8 +1407,13 @@ DROP TABLE test_repair_table; CREATE TABLE test_repair_table2 ( val integer ) ENGINE = CSV; --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; +--enable_ps_protocol # this should work ok, as the table is already repaired SELECT * from test_repair_table2; # check that the metafile appeared again. chop the path to it @@ -1435,7 +1440,9 @@ CREATE TABLE test_repair_table4 ( ) ENGINE = CSV; --exec rm $MYSQLTEST_VARDIR/master-data/test/test_repair_table4.CSM +--disable_ps_protocol SELECT * FROM test_repair_table4; +--enable_ps_protocol SELECT * FROM test_repair_table4; CHECK TABLE test_repair_table4; |