bug#33094: Error in upgrading from 5.0 to 5.1 when table contains triggers

Post-fix test failure: fixed mysqlcheck.test on Windows platforms.
This commit is contained in:
Ramil Kalimullin 2009-01-15 00:54:25 +04:00
parent efb10b6b20
commit 2dba01b2fa
2 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,7 @@ CREATE TABLE `я` (a INT);
SET NAMES DEFAULT;
mysqlcheck --default-character-set="latin1" --databases test
test.?
Error : Table 'test.?' doesn't exist
Error : Table doesn't exist
error : Corrupt
mysqlcheck --default-character-set="utf8" --databases test
test.я OK

View File

@ -131,6 +131,8 @@ DROP TABLE `@`;
CREATE TABLE `я` (a INT);
SET NAMES DEFAULT;
--echo mysqlcheck --default-character-set="latin1" --databases test
# Error returned depends on platform, replace it with "Table doesn't exist"
--replace_result "Can't find file: './test/@003f.frm' (errno: 22)" "Table doesn't exist" "Table 'test.?' doesn't exist" "Table doesn't exist"
--exec $MYSQL_CHECK --default-character-set="latin1" --databases test
--echo mysqlcheck --default-character-set="utf8" --databases test
--exec $MYSQL_CHECK --default-character-set="utf8" --databases test