1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix for bug #14822: Test "mysqldump" fails, "result" protocol seems wrong.

mysql-test/t/mysqldump.test:
  Fix for bug #14822: Test "mysqldump" fails, "result" protocol seems wrong.
  2>&1 added to be able to see error messages.
This commit is contained in:
unknown
2005-11-10 18:58:33 +04:00
parent d295807e88
commit 0c97fbef01
2 changed files with 15 additions and 5 deletions

View File

@ -1614,6 +1614,16 @@ mysqldump: Couldn't find table: "t\1"
mysqldump: Couldn't find table: "t/1" mysqldump: Couldn't find table: "t/1"
mysqldump: Couldn't find table: "T_1"
mysqldump: Couldn't find table: "T%1"
mysqldump: Couldn't find table: "T'1"
mysqldump: Couldn't find table: "T_1"
mysqldump: Couldn't find table: "T_"
test_sequence test_sequence
------ Testing with illegal database names ------ ------ Testing with illegal database names ------
mysqldump: Got error: 1049: Unknown database 'mysqldump_test_d' when selecting the database mysqldump: Got error: 1049: Unknown database 'mysqldump_test_d' when selecting the database

View File

@ -658,19 +658,19 @@ select '------ Testing with illegal table names ------' as test_sequence ;
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "t/1" 2>&1 --exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "t/1" 2>&1
--error 6 --error 6
--exec $MYSQL_DUMP --compact --skip-comments "mysqldump_test_db" "T_1" --exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
--error 6 --error 6
--exec $MYSQL_DUMP --compact --skip-comments "mysqldump_test_db" "T%1" --exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T%1" 2>&1
--error 6 --error 6
--exec $MYSQL_DUMP --compact --skip-comments "mysqldump_test_db" "T'1" --exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T'1" 2>&1
--error 6 --error 6
--exec $MYSQL_DUMP --compact --skip-comments "mysqldump_test_db" "T_1" --exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
--error 6 --error 6
--exec $MYSQL_DUMP --compact --skip-comments "mysqldump_test_db" "T_" --exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T_" 2>&1
--disable_query_log --disable_query_log
select '------ Testing with illegal database names ------' as test_sequence ; select '------ Testing with illegal database names ------' as test_sequence ;