mariadb/mysql-test/t/mysqldump.test

25 lines
510 B
Text
Raw Normal View History

2003-09-19 11:02:49 +02:00
--disable_warnings
DROP TABLE IF EXISTS t1, `"t"1`;
2003-09-19 11:02:49 +02:00
--enable_warnings
# XML output
CREATE TABLE t1(a int);
INSERT INTO t1 VALUES (1), (2);
2003-10-31 08:29:57 +01:00
--exec $MYSQL_DUMP --skip-all -X test t1
2003-09-19 11:02:49 +02:00
DROP TABLE t1;
2003-10-31 08:29:57 +01:00
CREATE TABLE t1(a int, b text, c varchar(3));
INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
--exec $MYSQL_DUMP --skip-all -X test t1
DROP TABLE t1;
2003-10-31 08:29:57 +01:00
#
# Bug #1707
#
CREATE TABLE t1 (`a"b"` char(2));
INSERT INTO t1 VALUES ("1\""), ("\"2");
--exec $MYSQL_DUMP --skip-all -X test t1
DROP TABLE t1;