mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
proper musqldump test result
(in addition to CS 1.1623 03/12/09)
This commit is contained in:
@ -15,3 +15,51 @@ INSERT INTO t1 VALUES (1), (2);
|
|||||||
</database>
|
</database>
|
||||||
</mysqldump>
|
</mysqldump>
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
CREATE TABLE t1 (a decimal(240, 20));
|
||||||
|
INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"),
|
||||||
|
("0987654321098765432109876543210987654321");
|
||||||
|
-- MySQL dump 9.09
|
||||||
|
--
|
||||||
|
-- Host: localhost Database: test
|
||||||
|
-- ------------------------------------------------------
|
||||||
|
-- Server version 4.0.17-debug-log
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `t1`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
a decimal(240,20) default NULL
|
||||||
|
) TYPE=MyISAM;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `t1`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890.00000000000000000000");
|
||||||
|
INSERT INTO t1 VALUES ("0987654321098765432109876543210987654321.00000000000000000000");
|
||||||
|
|
||||||
|
DROP TABLE t1;
|
||||||
|
CREATE TABLE t1 (a double);
|
||||||
|
INSERT INTO t1 VALUES (-9e999999);
|
||||||
|
-- MySQL dump 9.09
|
||||||
|
--
|
||||||
|
-- Host: localhost Database: test
|
||||||
|
-- ------------------------------------------------------
|
||||||
|
-- Server version 4.0.17-debug-log
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `t1`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
a double default NULL
|
||||||
|
) TYPE=MyISAM;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `t1`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO t1 VALUES (NULL);
|
||||||
|
|
||||||
|
DROP TABLE t1;
|
||||||
|
Reference in New Issue
Block a user