mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
33 lines
674 B
Text
33 lines
674 B
Text
--disable_warnings
|
|
DROP TABLE IF EXISTS t1, `"t"1`;
|
|
--enable_warnings
|
|
|
|
# XML output
|
|
|
|
CREATE TABLE t1(a int);
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
--exec $MYSQL_DUMP --skip-all -X test t1
|
|
DROP TABLE t1;
|
|
|
|
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;
|
|
|
|
#
|
|
# 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;
|
|
|
|
#
|
|
# Bug #1994
|
|
#
|
|
|
|
CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET koi8r;
|
|
INSERT INTO t1 VALUES (_koi8r x'C1C2C3C4C5');
|
|
--exec $MYSQL_DUMP test t1
|
|
DROP TABLE t1;
|