@@ -31,7 +31,7 @@ drop view if exists v1, v2, v3;
3131
3232CREATE TABLE t1(a INT, KEY (a)) KEY_BLOCK_SIZE=1024;
3333INSERT INTO t1 VALUES (1), (2);
34- --exec $MYSQL_DUMP --skip-create --skip-comments -X test t1
34+ --exec $MYSQL_DUMP --skip-create-options --skip-comments -X test t1
3535DROP TABLE t1;
3636
3737--echo #
@@ -74,14 +74,14 @@ SET SQL_MODE=@OLD_SQL_MODE;
7474
7575# check how mysqldump make quoting
7676--exec $MYSQL_DUMP --compact test t1
77- --exec $MYSQL_DUMP --compact --skip-create test t1
78- --exec $MYSQL_DUMP --skip-create --skip-comments test t1
77+ --exec $MYSQL_DUMP --compact --skip-create-options test t1
78+ --exec $MYSQL_DUMP --skip-create-options --skip-comments test t1
7979--exec $MYSQL_DUMP --skip-opt --extended-insert --skip-comments test t1
8080DROP TABLE t1;
8181
8282CREATE TABLE t1(a int, b text, c varchar(3));
8383INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
84- --exec $MYSQL_DUMP --skip-create --compact -X test t1
84+ --exec $MYSQL_DUMP --skip-create-options --compact -X test t1
8585DROP TABLE t1;
8686
8787--echo #
@@ -90,7 +90,7 @@ DROP TABLE t1;
9090
9191CREATE TABLE t1 (`a"b"` char(2));
9292INSERT INTO t1 VALUES ("1\""), ("\"2");
93- --exec $MYSQL_DUMP --compact --skip-create -X test t1
93+ --exec $MYSQL_DUMP --compact --skip-create-options -X test t1
9494DROP TABLE t1;
9595
9696--echo #
@@ -577,8 +577,8 @@ INSERT INTO t1 VALUES (1), (2);
577577INSERT INTO t2 VALUES (1), (2);
578578--exec $MYSQL_DUMP --skip-comments --no-data mysqldump_test_db
579579--exec $MYSQL_DUMP --skip-comments --no-data mysqldump_test_db t1 t2
580- --exec $MYSQL_DUMP --skip-comments --skip-create --xml --no-data mysqldump_test_db
581- --exec $MYSQL_DUMP --skip-comments --skip-create --xml --no-data mysqldump_test_db t1 t2
580+ --exec $MYSQL_DUMP --skip-comments --skip-create-options --xml --no-data mysqldump_test_db
581+ --exec $MYSQL_DUMP --skip-comments --skip-create-options --xml --no-data mysqldump_test_db t1 t2
582582DROP TABLE t1, t2;
583583DROP DATABASE mysqldump_test_db;
584584
@@ -1600,7 +1600,7 @@ drop database mysqldump_test_db;
16001600
16011601CREATE TABLE t1 (c1 INT, c2 LONGBLOB);
16021602INSERT INTO t1 SET c1=11, c2=REPEAT('q',509);
1603- --exec $MYSQL_DUMP --skip-create --compact --hex-blob test t1
1603+ --exec $MYSQL_DUMP --skip-create-options --compact --hex-blob test t1
16041604DROP TABLE t1;
16051605
16061606--echo #
@@ -2189,7 +2189,7 @@ drop table t1;
21892189--echo #
21902190
21912191CREATE TABLE `comment_table` (i INT COMMENT 'FIELD COMMENT') COMMENT = 'TABLE COMMENT';
2192- --exec $MYSQL_DUMP --compact --skip-create --xml test
2192+ --exec $MYSQL_DUMP --compact --skip-create-options --xml test
21932193DROP TABLE `comment_table`;
21942194
21952195--echo #
@@ -2390,7 +2390,7 @@ CREATE TABLE b12809202_db.t2 (c1 INT);
23902390INSERT INTO b12809202_db.t1 VALUES (1), (2), (3);
23912391INSERT INTO b12809202_db.t2 VALUES (1), (2), (3);
23922392
2393- --echo # Starting mysqldump with --single-transaction & --flush-log options..
2393+ --echo # Starting mysqldump with --single-transaction & --flush-logs options..
23942394--echo # Note : In the following dump the transaction
23952395--echo # should start only after the logs are
23962396--echo # flushed, as 'flush logs' causes implicit
@@ -2401,7 +2401,7 @@ INSERT INTO b12809202_db.t2 VALUES (1), (2), (3);
24012401--echo
24022402--echo #### Dump starts here ####
24032403--replace_regex /-- Server version.*// /-- MySQL dump .*// /-- Dump completed on .*/-- Dump completed/
2404- --exec $MYSQL_DUMP --verbose --single-transaction --flush-log b12809202_db 2> $MYSQLTEST_VARDIR/tmp/b12809202_stderr.sql
2404+ --exec $MYSQL_DUMP --verbose --single-transaction --flush-logs b12809202_db 2> $MYSQLTEST_VARDIR/tmp/b12809202_stderr.sql
24052405--echo
24062406--echo ## stderr ##
24072407--cat_file $MYSQLTEST_VARDIR/tmp/b12809202_stderr.sql
0 commit comments