mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
38df192ed9
mysql-test/r/have_met_timezone.require: Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone) mysql-test/r/timezone.result: Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone) mysql-test/t/mysqldump.test: Portablity fix (Some machines like OSF doesn't read a big double as 'inf' mysql-test/t/timezone.test: Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
32 lines
743 B
Text
32 lines
743 B
Text
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
|
|
# XML output
|
|
|
|
CREATE TABLE t1(a int);
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
--exec $MYSQL_DUMP --skip-comments -X test t1
|
|
DROP TABLE t1;
|
|
|
|
#
|
|
# Bug #2005
|
|
#
|
|
|
|
CREATE TABLE t1 (a decimal(240, 20));
|
|
INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"),
|
|
("0987654321098765432109876543210987654321");
|
|
--exec $MYSQL_DUMP --skip-comments test t1
|
|
DROP TABLE t1;
|
|
|
|
#
|
|
# Bug #2055
|
|
#
|
|
|
|
CREATE TABLE t1 (a double);
|
|
INSERT INTO t1 VALUES (-9e999999);
|
|
# The following replaces is here because some systems replaces the above
|
|
# double with '-inf' and others with MAX_DOUBLE
|
|
--replace_result (-1.79769313486232e+308) (RES) (NULL) (RES)
|
|
--exec $MYSQL_DUMP --skip-comments test t1
|
|
DROP TABLE t1;
|