Commit 0250c011 authored by petr@mysql.com's avatar petr@mysql.com

Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  mysql.com:/home/cps/mysql/devel/5.1-repair-csv
parents da000b2d 5d448351
...@@ -1424,7 +1424,7 @@ DROP TABLE test_repair_table2; ...@@ -1424,7 +1424,7 @@ DROP TABLE test_repair_table2;
# Corrupt csv file and see if we can repair it # Corrupt csv file and see if we can repair it
CREATE TABLE test_repair_table3 ( val integer ) ENGINE = CSV; CREATE TABLE test_repair_table3 ( val integer ) ENGINE = CSV;
--exec echo -n -e \"1\"\\n\"4\"\\n\"3 > $MYSQLTEST_VARDIR/master-data/test/test_repair_table3.CSV --exec perl -e 'print "\"1\"\n\"4\"\n\"3";' > $MYSQLTEST_VARDIR/master-data/test/test_repair_table3.CSV
CHECK TABLE test_repair_table3; CHECK TABLE test_repair_table3;
REPAIR TABLE test_repair_table3; REPAIR TABLE test_repair_table3;
SELECT * FROM test_repair_table3; SELECT * FROM test_repair_table3;
...@@ -1472,7 +1472,7 @@ CREATE TABLE test_repair_table5 ( ...@@ -1472,7 +1472,7 @@ CREATE TABLE test_repair_table5 (
) ENGINE = CSV; ) ENGINE = CSV;
# Corrupt a table -- put a file with wrong # of columns # Corrupt a table -- put a file with wrong # of columns
--exec echo -n -e \"1\",\"101\",\"IBM\"\\n > $MYSQLTEST_VARDIR/master-data/test/test_repair_table5.CSV --exec perl -e 'print "\"1\",\"101\",\"IBM\"\n";' > $MYSQLTEST_VARDIR/master-data/test/test_repair_table5.CSV
CHECK TABLE test_repair_table5; CHECK TABLE test_repair_table5;
REPAIR TABLE test_repair_table5; REPAIR TABLE test_repair_table5;
......
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