mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-4028 - Converted rdiff files to uniform
MDEV-11 - Modifed tests and result files to use explicit column lists in INSERT and SELECT statements
This commit is contained in:
@@ -15,20 +15,20 @@ b0 binary(0) # # # #
|
||||
b1 binary(1) # # # #
|
||||
b20 binary(20) # # # #
|
||||
b255 binary(255) # # # #
|
||||
INSERT INTO t1 VALUES ('','','','','');
|
||||
INSERT INTO t1 VALUES ('a','','b','abcdefghi klmnopqrst', 'Creating an article for the Knowledgebase is similar to asking questions. First, navigate to the category where you feel the article should be. Once there, double check that an article doesn\'t already exist which would work.');
|
||||
INSERT INTO t1 (b,b0,b1,b20,b255) VALUES ('','','','','');
|
||||
INSERT INTO t1 (b,b0,b1,b20,b255) VALUES ('a','','b','abcdefghi klmnopqrst', 'Creating an article for the Knowledgebase is similar to asking questions. First, navigate to the category where you feel the article should be. Once there, double check that an article doesn\'t already exist which would work.');
|
||||
SELECT HEX(b), HEX(b0), HEX(b1), HEX(b20), HEX(b255) FROM t1;
|
||||
HEX(b) HEX(b0) HEX(b1) HEX(b20) HEX(b255)
|
||||
00 00 0000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
61 62 616263646566676869206B6C6D6E6F7071727374 4372656174696E6720616E2061727469636C6520666F7220746865204B6E6F776C65646765626173652069732073696D696C617220746F2061736B696E67207175657374696F6E732E2046697273742C206E6176696761746520746F207468652063617465676F727920776865726520796F75206665656C207468652061727469636C652073686F756C642062652E204F6E63652074686572652C20646F75626C6520636865636B207468617420616E2061727469636C6520646F65736E277420616C726561647920657869737420776869636820776F756C6420776F726B2E00000000000000000000000000000000000000000000000000000000000000
|
||||
INSERT INTO t1 VALUES ('abc', 'a', 'abc', REPEAT('a',21), REPEAT('x',256));
|
||||
INSERT INTO t1 (b,b0,b1,b20,b255) VALUES ('abc', 'a', 'abc', REPEAT('a',21), REPEAT('x',256));
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'b' at row 1
|
||||
Warning 1265 Data truncated for column 'b0' at row 1
|
||||
Warning 1265 Data truncated for column 'b1' at row 1
|
||||
Warning 1265 Data truncated for column 'b20' at row 1
|
||||
Warning 1265 Data truncated for column 'b255' at row 1
|
||||
INSERT INTO t1 SELECT b255, b255, b255, b255, CONCAT(b255,b255) FROM t1;
|
||||
INSERT INTO t1 (b,b0,b1,b20,b255) SELECT b255, b255, b255, b255, CONCAT(b255,b255) FROM t1;
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'b' at row 1
|
||||
Warning 1265 Data truncated for column 'b0' at row 1
|
||||
@@ -237,29 +237,29 @@ a bit(1) # # #
|
||||
b bit(20) # # #
|
||||
c bit(64) # # #
|
||||
d bit(1) # # #
|
||||
INSERT INTO t1 VALUES (0,POW(2,20)-1,b'1111111111111111111111111111111111111111111111111111111111111111',1);
|
||||
INSERT INTO t1 (a,b,c,d) VALUES (0,POW(2,20)-1,b'1111111111111111111111111111111111111111111111111111111111111111',1);
|
||||
SELECT BIN(a), HEX(b), c+0 FROM t1 WHERE d>0;
|
||||
BIN(a) HEX(b) c+0
|
||||
0 FFFFF 18446744073709551615
|
||||
INSERT INTO t1 VALUES (1,0,-1,0);
|
||||
INSERT INTO t1 (a,b,c,d) VALUES (1,0,-1,0);
|
||||
SELECT a+0, b+0, c+0 FROM t1 WHERE d<100;
|
||||
a+0 b+0 c+0
|
||||
0 1048575 18446744073709551615
|
||||
1 0 18446744073709551615
|
||||
INSERT INTO t1 VALUES (b'1', 'f', 0xFF, 0x0);
|
||||
INSERT INTO t1 (a,b,c,d) VALUES (b'1', 'f', 0xFF, 0x0);
|
||||
SELECT a+0, b+0, c+0 FROM t1 WHERE d IN (0, 2);
|
||||
a+0 b+0 c+0
|
||||
1 0 18446744073709551615
|
||||
1 102 255
|
||||
INSERT INTO t1 VALUES (0x10,0,0,1);
|
||||
INSERT INTO t1 (a,b,c,d) VALUES (0x10,0,0,1);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'a' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b,c,d FROM t1;
|
||||
a b c d
|
||||
INSERT INTO t1 VALUES (0x01,0,0x10000000000000000,0);
|
||||
INSERT INTO t1 (a,b,c,d) VALUES (0x01,0,0x10000000000000000,0);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b,c,d FROM t1;
|
||||
a b c d
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a BIT(65) <CUSTOM_COL_OPTIONS> NOT NULL) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
|
||||
@@ -319,7 +319,7 @@ b17m longblob # # #
|
||||
t tinyblob # # #
|
||||
m mediumblob # # #
|
||||
l longblob # # #
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (b,b0,b1,b300,bm,b70k,b17m,t,m,l) VALUES
|
||||
('','','','','','','','','',''),
|
||||
('a','b','c','d','e','f','g','h','i','j'),
|
||||
('test1','test2','test3','test4','test5','test6','test7','test8','test9','test10'),
|
||||
@@ -330,7 +330,7 @@ LENGTH(b) LENGTH(b0) LENGTH(b1) LENGTH(b300) LENGTH(bm) LENGTH(b70k) LENGTH(b17m
|
||||
1 1 1 1 1 1 1 1 1 1
|
||||
5 5 5 5 5 5 5 5 5 6
|
||||
65535 65535 255 65535 65535 1048576 2097152 255 1048576 2097152
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (b,b0,b1,b300,bm,b70k,b17m,t,m,l) VALUES
|
||||
( REPEAT('a',65536), REPEAT('b',65536), REPEAT('c',256), REPEAT('d',65536), REPEAT('e',65536), REPEAT('f',1048576), REPEAT('g',1048576), REPEAT('h',256), REPEAT('i',1048576), REPEAT('j',1048576) );
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'b' at row 1
|
||||
@@ -392,23 +392,23 @@ SHOW COLUMNS IN t1;
|
||||
Field Type Null Key Default Extra
|
||||
b1 tinyint(1) # # #
|
||||
b2 tinyint(1) # # #
|
||||
INSERT INTO t1 VALUES (1,TRUE);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (b1,b2) VALUES (1,TRUE);
|
||||
SELECT b1,b2 FROM t1;
|
||||
b1 b2
|
||||
1 1
|
||||
INSERT INTO t1 VALUES (FALSE,0);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (b1,b2) VALUES (FALSE,0);
|
||||
SELECT b1,b2 FROM t1;
|
||||
b1 b2
|
||||
0 0
|
||||
1 1
|
||||
INSERT INTO t1 VALUES (2,3);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (b1,b2) VALUES (2,3);
|
||||
SELECT b1,b2 FROM t1;
|
||||
b1 b2
|
||||
0 0
|
||||
1 1
|
||||
2 3
|
||||
INSERT INTO t1 VALUES (-1,-2);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (b1,b2) VALUES (-1,-2);
|
||||
SELECT b1,b2 FROM t1;
|
||||
b1 b2
|
||||
-1 -2
|
||||
0 0
|
||||
@@ -420,28 +420,28 @@ false false
|
||||
true true
|
||||
true true
|
||||
true true
|
||||
SELECT * FROM t1 WHERE b1 = TRUE;
|
||||
SELECT b1,b2 FROM t1 WHERE b1 = TRUE;
|
||||
b1 b2
|
||||
1 1
|
||||
SELECT * FROM t1 WHERE b2 = FALSE;
|
||||
SELECT b1,b2 FROM t1 WHERE b2 = FALSE;
|
||||
b1 b2
|
||||
0 0
|
||||
INSERT INTO t1 VALUES ('a','b');
|
||||
INSERT INTO t1 (b1,b2) VALUES ('a','b');
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: 'a' for column 'b1' at row 1
|
||||
Warning 1366 Incorrect integer value: 'b' for column 'b2' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT b1,b2 FROM t1;
|
||||
b1 b2
|
||||
-1 -2
|
||||
0 0
|
||||
0 0
|
||||
1 1
|
||||
2 3
|
||||
INSERT INTO t1 VALUES (128,-129);
|
||||
INSERT INTO t1 (b1,b2) VALUES (128,-129);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'b1' at row 1
|
||||
Warning 1264 Out of range value for column 'b2' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT b1,b2 FROM t1;
|
||||
b1 b2
|
||||
-1 -2
|
||||
0 0
|
||||
@@ -499,20 +499,20 @@ c0 char(0) # # #
|
||||
c1 char(1) # # #
|
||||
c20 char(20) # # #
|
||||
c255 char(255) # # #
|
||||
INSERT INTO t1 VALUES ('','','','','');
|
||||
INSERT INTO t1 VALUES ('a','','b','abcdefghi klmnopqrst', 'Creating an article for the Knowledgebase is similar to asking questions. First, navigate to the category where you feel the article should be. Once there, double check that an article doesn\'t already exist which would work.');
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (c,c0,c1,c20,c255) VALUES ('','','','','');
|
||||
INSERT INTO t1 (c,c0,c1,c20,c255) VALUES ('a','','b','abcdefghi klmnopqrst', 'Creating an article for the Knowledgebase is similar to asking questions. First, navigate to the category where you feel the article should be. Once there, double check that an article doesn\'t already exist which would work.');
|
||||
SELECT c,c0,c1,c20,c255 FROM t1;
|
||||
c c0 c1 c20 c255
|
||||
|
||||
a b abcdefghi klmnopqrst Creating an article for the Knowledgebase is similar to asking questions. First, navigate to the category where you feel the article should be. Once there, double check that an article doesn't already exist which would work.
|
||||
INSERT INTO t1 VALUES ('abc', 'a', 'abc', REPEAT('a',21), REPEAT('x',256));
|
||||
INSERT INTO t1 (c,c0,c1,c20,c255) VALUES ('abc', 'a', 'abc', REPEAT('a',21), REPEAT('x',256));
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c' at row 1
|
||||
Warning 1265 Data truncated for column 'c0' at row 1
|
||||
Warning 1265 Data truncated for column 'c1' at row 1
|
||||
Warning 1265 Data truncated for column 'c20' at row 1
|
||||
Warning 1265 Data truncated for column 'c255' at row 1
|
||||
INSERT INTO t1 SELECT c255, c255, c255, c255, CONCAT(c255,c1) FROM t1;
|
||||
INSERT INTO t1 (c,c0,c1,c20,c255) SELECT c255, c255, c255, c255, CONCAT(c255,c1) FROM t1;
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c' at row 2
|
||||
Warning 1265 Data truncated for column 'c0' at row 2
|
||||
@@ -523,7 +523,7 @@ Warning 1265 Data truncated for column 'c0' at row 3
|
||||
Warning 1265 Data truncated for column 'c1' at row 3
|
||||
Warning 1265 Data truncated for column 'c20' at row 3
|
||||
Warning 1265 Data truncated for column 'c255' at row 3
|
||||
SELECT * FROM t1;
|
||||
SELECT c,c0,c1,c20,c255 FROM t1;
|
||||
c c0 c1 c20 c255
|
||||
|
||||
|
||||
@@ -625,7 +625,7 @@ INSERT INTO t1 (v0,v1,v64,v65000) VALUES ('','y','Once there, double check that
|
||||
|
||||
* MySQL 5.0 Certification Study Guide, By Paul DuBois, Stefan Hinz, Carsten Pedersen
|
||||
o This is the official guide to cover the passing of the two MySQL Certification examinations. It is valid till version 5.0 of the server, so while it misses all the features available in MySQL 5.1 and greater (including MariaDB 5.1 and greater), it provides a good basic understanding of MySQL for the end-user. ');
|
||||
SELECT * FROM t1;
|
||||
SELECT v0,v1,v64,v65000 FROM t1;
|
||||
v0 v1 v64 v65000
|
||||
|
||||
|
||||
@@ -751,18 +751,18 @@ y year(4) # # #
|
||||
y4 year(4) # # #
|
||||
y2 year(2) # # #
|
||||
SET @tm = '2012-04-09 05:27:00';
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (d,dt,ts,t,y,y4,y2) VALUES
|
||||
('1000-01-01', '1000-01-01 00:00:00', FROM_UNIXTIME(1), '-838:59:59', '1901', '1901', '00'),
|
||||
('9999-12-31', '9999-12-31 23:59:59', FROM_UNIXTIME(2147483647), '838:59:59', '2155', '2155', '99'),
|
||||
('0000-00-00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '00:00:00', '0', '0', '0'),
|
||||
(DATE(@tm),@tm,TIMESTAMP(@tm),TIME(@tm),YEAR(@tm),YEAR(@tm),YEAR(@tm));
|
||||
SELECT * FROM t1;
|
||||
SELECT d,dt,ts,t,y,y4,y2 FROM t1;
|
||||
d dt ts t y y4 y2
|
||||
0000-00-00 0000-00-00 00:00:00 0000-00-00 00:00:00 00:00:00 2000 2000 00
|
||||
1000-01-01 1000-01-01 00:00:00 1970-01-01 03:00:01 -838:59:59 1901 1901 00
|
||||
2012-04-09 2012-04-09 05:27:00 2012-04-09 05:27:00 05:27:00 2012 2012 12
|
||||
9999-12-31 9999-12-31 23:59:59 2038-01-19 07:14:07 838:59:59 2155 2155 99
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (d,dt,ts,t,y,y4,y2) VALUES
|
||||
('999-13-32', '999-11-31 00:00:00', '0', '-839:00:00', '1900', '1900', '-1' );
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'd' at row 1
|
||||
@@ -772,7 +772,7 @@ Warning 1264 Out of range value for column 't' at row 1
|
||||
Warning 1264 Out of range value for column 'y' at row 1
|
||||
Warning 1264 Out of range value for column 'y4' at row 1
|
||||
Warning 1264 Out of range value for column 'y2' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT d,dt,ts,t,y,y4,y2 FROM t1;
|
||||
d dt ts t y y4 y2
|
||||
0000-00-00 0000-00-00 00:00:00 0000-00-00 00:00:00 -838:59:59 0000 0000 00
|
||||
0000-00-00 0000-00-00 00:00:00 0000-00-00 00:00:00 00:00:00 2000 2000 00
|
||||
@@ -853,7 +853,7 @@ SHOW COLUMNS IN t1;
|
||||
Field Type Null Key Default Extra
|
||||
c timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
|
||||
INSERT INTO t1 (c) VALUES (NULL);
|
||||
SELECT * FROM t1;
|
||||
SELECT c FROM t1;
|
||||
c
|
||||
<TIMESTAMP>
|
||||
DROP TABLE t1;
|
||||
@@ -959,17 +959,17 @@ Field Type Null Key Default Extra
|
||||
a enum('') # # #
|
||||
b enum('test1','test2','test3','test4','test5') # # #
|
||||
c enum('1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','','11','12','13','14','15','16','17','18','19','1a','1b','1c','1d','1e','1f','1g','1h','1i','1j','1k','1l','1m','1n','1o','1p','1q','1r','1s','1t','1u','1v','1w','1x','1y','1z','20','21','22','23','24','25','26','27','28','29','2a','2b','2c','2d','2e','2f','2g','2h','2i','2j','2k','2l','2m','2n','2o','2p','2q','2r','2s','2t','2u','2v','2w','2x','2y','2z','30','31','32','33','34','35','36','37','38','39','3a','3b','3c','3d','3e','3f','3g','3h','3i','3j','3k','3l','3m','3n','3o','3p','3q','3r','3s','3t','3u','3v','3w','3x','3y','3z','40','41','42','43','44','45','46','47','48','49','4a','4b','4c','4d','4e','4f','4g','4h','4i','4j','4k','4l','4m','4n','4o','4p','4q','4r','4s','4t','4u','4v','4w','4x','4y','4z','50','51','52','53','54','55','56','57','58','59','5a','5b','5c','5d','5e','5f','5g','5h','5i','5j','5k','5l','5m','5n','5o','5p','5q','5r','5s','5t','5u','5v','5w','5x','5y','5z','60','61','62','63','64','65','66','67','68','69','6a','6b','6c','6d','6e','6f','6g','6h','6i','6j','6k','6l','6m','6n','6o','6p','6q','6r','6s','6t','6u','6v','6w','6x','6y','6z','70','71','72','73','74','75') # # #
|
||||
INSERT INTO t1 VALUES ('','test2','4'),('',5,2);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (a,b,c) VALUES ('','test2','4'),('',5,2);
|
||||
SELECT a,b,c FROM t1;
|
||||
a b c
|
||||
test2 4
|
||||
test5 2
|
||||
INSERT INTO t1 VALUES (0,'test6',-1);
|
||||
INSERT INTO t1 (a,b,c) VALUES (0,'test6',-1);
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'a' at row 1
|
||||
Warning 1265 Data truncated for column 'b' at row 1
|
||||
Warning 1265 Data truncated for column 'c' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b,c FROM t1;
|
||||
a b c
|
||||
|
||||
test2 4
|
||||
@@ -984,14 +984,14 @@ a enum('') # # #
|
||||
b enum('test1','test2','test3','test4','test5') # # #
|
||||
c enum('1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','','11','12','13','14','15','16','17','18','19','1a','1b','1c','1d','1e','1f','1g','1h','1i','1j','1k','1l','1m','1n','1o','1p','1q','1r','1s','1t','1u','1v','1w','1x','1y','1z','20','21','22','23','24','25','26','27','28','29','2a','2b','2c','2d','2e','2f','2g','2h','2i','2j','2k','2l','2m','2n','2o','2p','2q','2r','2s','2t','2u','2v','2w','2x','2y','2z','30','31','32','33','34','35','36','37','38','39','3a','3b','3c','3d','3e','3f','3g','3h','3i','3j','3k','3l','3m','3n','3o','3p','3q','3r','3s','3t','3u','3v','3w','3x','3y','3z','40','41','42','43','44','45','46','47','48','49','4a','4b','4c','4d','4e','4f','4g','4h','4i','4j','4k','4l','4m','4n','4o','4p','4q','4r','4s','4t','4u','4v','4w','4x','4y','4z','50','51','52','53','54','55','56','57','58','59','5a','5b','5c','5d','5e','5f','5g','5h','5i','5j','5k','5l','5m','5n','5o','5p','5q','5r','5s','5t','5u','5v','5w','5x','5y','5z','60','61','62','63','64','65','66','67','68','69','6a','6b','6c','6d','6e','6f','6g','6h','6i','6j','6k','6l','6m','6n','6o','6p','6q','6r','6s','6t','6u','6v','6w','6x','6y','6z','70','71','72','73','74','75') # # #
|
||||
e enum('a','A') # # #
|
||||
INSERT INTO t1 VALUES ('','test3','75','A');
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (a,b,c,e) VALUES ('','test3','75','A');
|
||||
SELECT a,b,c,e FROM t1;
|
||||
a b c e
|
||||
a
|
||||
test2 4 a
|
||||
test3 75 a
|
||||
test5 2 a
|
||||
SELECT * FROM t1 WHERE b='test2' OR a != '';
|
||||
SELECT a,b,c,e FROM t1 WHERE b='test2' OR a != '';
|
||||
a b c e
|
||||
test2 4 a
|
||||
DROP TABLE t1;
|
||||
@@ -1050,30 +1050,30 @@ n0_0 decimal(10,0) # # #
|
||||
n1 decimal(1,0) # # #
|
||||
n20_4 decimal(20,4) # # #
|
||||
n65_4 decimal(65,4) # # #
|
||||
INSERT INTO t1 VALUES (100,123456,0.3,40000.25,123456789123456789.10001,1024,7000.0,8.0,999999.9,9223372036854775807);
|
||||
INSERT INTO t1 VALUES (0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO t1 VALUES (9999999999.0,9999999999.0,0.9,99999999.99,99999999999999999999999999999999999999999999999999.9999999999,9999999999.0,9999999999.0,9.0,9999999999999999.9999,9999999999999999999999999999999999999999999999999999999999999.9999);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (100,123456,0.3,40000.25,123456789123456789.10001,1024,7000.0,8.0,999999.9,9223372036854775807);
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (9999999999.0,9999999999.0,0.9,99999999.99,99999999999999999999999999999999999999999999999999.9999999999,9999999999.0,9999999999.0,9.0,9999999999999999.9999,9999999999999999999999999999999999999999999999999999999999999.9999);
|
||||
SELECT d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4 FROM t1;
|
||||
d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
0 0 0.0 0.00 0.0000000000 0 0 0 0.0000 0.0000
|
||||
100 123456 0.3 40000.25 123456789123456789.1000100000 1024 7000 8 999999.9000 9223372036854775807.0000
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
INSERT INTO t1 VALUES (-100,-123456,-0.3,-40000.25,-123456789123456789.10001,-1024,-7000.0,-8.0,-999999.9,-9223372036854775807);
|
||||
INSERT INTO t1 VALUES (-9999999999.0,-9999999999.0,-0.9,-99999999.99,-99999999999999999999999999999999999999999999999999.9999999999,-9999999999.0,-9999999999.0,-9.0,-9999999999999999.9999,-9999999999999999999999999999999999999999999999999999999999999.9999);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (-100,-123456,-0.3,-40000.25,-123456789123456789.10001,-1024,-7000.0,-8.0,-999999.9,-9223372036854775807);
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (-9999999999.0,-9999999999.0,-0.9,-99999999.99,-99999999999999999999999999999999999999999999999999.9999999999,-9999999999.0,-9999999999.0,-9.0,-9999999999999999.9999,-9999999999999999999999999999999999999999999999999999999999999.9999);
|
||||
SELECT d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4 FROM t1;
|
||||
d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
-100 -123456 -0.3 -40000.25 -123456789123456789.1000100000 -1024 -7000 -8 -999999.9000 -9223372036854775807.0000
|
||||
-9999999999 -9999999999 -0.9 -99999999.99 -99999999999999999999999999999999999999999999999999.9999999999 -9999999999 -9999999999 -9 -9999999999999999.9999 -9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
0 0 0.0 0.00 0.0000000000 0 0 0 0.0000 0.0000
|
||||
100 123456 0.3 40000.25 123456789123456789.1000100000 1024 7000 8 999999.9000 9223372036854775807.0000
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
SELECT * FROM t1 WHERE n20_4 = 9999999999999999.9999 OR d < 100;
|
||||
SELECT d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4 FROM t1 WHERE n20_4 = 9999999999999999.9999 OR d < 100;
|
||||
d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
-100 -123456 -0.3 -40000.25 -123456789123456789.1000100000 -1024 -7000 -8 -999999.9000 -9223372036854775807.0000
|
||||
-9999999999 -9999999999 -0.9 -99999999.99 -99999999999999999999999999999999999999999999999999.9999999999 -9999999999 -9999999999 -9 -9999999999999999.9999 -9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
0 0 0.0 0.00 0.0000000000 0 0 0 0.0000 0.0000
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
INSERT INTO t1 SELECT n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4 FROM t1 WHERE n65_4 = ( SELECT MAX(n65_4) FROM t1 );
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) SELECT n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4, n65_4 FROM t1 WHERE n65_4 = ( SELECT MAX(n65_4) FROM t1 );
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'd' at row 1
|
||||
Warning 1264 Out of range value for column 'd0' at row 1
|
||||
@@ -1084,7 +1084,7 @@ Warning 1264 Out of range value for column 'n' at row 1
|
||||
Warning 1264 Out of range value for column 'n0_0' at row 1
|
||||
Warning 1264 Out of range value for column 'n1' at row 1
|
||||
Warning 1264 Out of range value for column 'n20_4' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4 FROM t1;
|
||||
d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
-100 -123456 -0.3 -40000.25 -123456789123456789.1000100000 -1024 -7000 -8 -999999.9000 -9223372036854775807.0000
|
||||
-9999999999 -9999999999 -0.9 -99999999.99 -99999999999999999999999999999999999999999999999999.9999999999 -9999999999 -9999999999 -9 -9999999999999999.9999 -9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
@@ -1092,7 +1092,7 @@ d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
100 123456 0.3 40000.25 123456789123456789.1000100000 1024 7000 8 999999.9000 9223372036854775807.0000
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
INSERT INTO t1 VALUES (10000000000.0,10000000000.0,1.1,100000000.99,100000000000000000000000000000000000000000000000000.0,10000000000.0,10000000000.0,10.0,10000000000000000.9999,10000000000000000000000000000000000000000000000000000000000000.9999);
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (10000000000.0,10000000000.0,1.1,100000000.99,100000000000000000000000000000000000000000000000000.0,10000000000.0,10000000000.0,10.0,10000000000000000.9999,10000000000000000000000000000000000000000000000000000000000000.9999);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'd' at row 1
|
||||
Warning 1264 Out of range value for column 'd0' at row 1
|
||||
@@ -1104,7 +1104,7 @@ Warning 1264 Out of range value for column 'n0_0' at row 1
|
||||
Warning 1264 Out of range value for column 'n1' at row 1
|
||||
Warning 1264 Out of range value for column 'n20_4' at row 1
|
||||
Warning 1264 Out of range value for column 'n65_4' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4 FROM t1;
|
||||
d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
-100 -123456 -0.3 -40000.25 -123456789123456789.1000100000 -1024 -7000 -8 -999999.9000 -9223372036854775807.0000
|
||||
-9999999999 -9999999999 -0.9 -99999999.99 -99999999999999999999999999999999999999999999999999.9999999999 -9999999999 -9999999999 -9 -9999999999999999.9999 -9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
@@ -1113,7 +1113,7 @@ d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
9999999999 9999999999 0.9 99999999.99 99999999999999999999999999999999999999999999999999.9999999999 9999999999 9999999999 9 9999999999999999.9999 9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
INSERT INTO t1 VALUES (9999999999.1,9999999999.1,1.9,99999999.001,99999999999999999999999999999999999999999999999999.99999999991,9999999999.1,9999999999.1,9.1,9999999999999999.00001,9999999999999999999999999999999999999999999999999999999999999.11111);
|
||||
INSERT INTO t1 (d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4) VALUES (9999999999.1,9999999999.1,1.9,99999999.001,99999999999999999999999999999999999999999999999999.99999999991,9999999999.1,9999999999.1,9.1,9999999999999999.00001,9999999999999999999999999999999999999999999999999999999999999.11111);
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'd' at row 1
|
||||
Note 1265 Data truncated for column 'd0' at row 1
|
||||
@@ -1125,7 +1125,7 @@ Note 1265 Data truncated for column 'n0_0' at row 1
|
||||
Note 1265 Data truncated for column 'n1' at row 1
|
||||
Note 1265 Data truncated for column 'n20_4' at row 1
|
||||
Note 1265 Data truncated for column 'n65_4' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT d,d0,d1_1,d10_2,d60_10,n,n0_0,n1,n20_4,n65_4 FROM t1;
|
||||
d d0 d1_1 d10_2 d60_10 n n0_0 n1 n20_4 n65_4
|
||||
-100 -123456 -0.3 -40000.25 -123456789123456789.1000100000 -1024 -7000 -8 -999999.9000 -9223372036854775807.0000
|
||||
-9999999999 -9999999999 -0.9 -99999999.99 -99999999999999999999999999999999999999999999999999.9999999999 -9999999999 -9999999999 -9 -9999999999999999.9999 -9999999999999999999999999999999999999999999999999999999999999.9999
|
||||
@@ -1229,8 +1229,8 @@ d1_0 double(1,0) # # #
|
||||
d10_10 double(10,10) # # #
|
||||
d53 double(53,0) # # #
|
||||
d53_10 double(53,10) # # #
|
||||
INSERT INTO t1 VALUES (12345.12345,12345.12345,0.9,123456789.123,56789.987,11111111.111,8.0,0.0123456789,1234566789123456789,99999999999999999.99999999);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10) VALUES (12345.12345,12345.12345,0.9,123456789.123,56789.987,11111111.111,8.0,0.0123456789,1234566789123456789,99999999999999999.99999999);
|
||||
SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1;
|
||||
f 12345.1
|
||||
d 11111111.111
|
||||
d10_10 0.0123456789
|
||||
@@ -1241,8 +1241,8 @@ f0 12345.1
|
||||
f20_3 56789.988
|
||||
f23_0 123457000
|
||||
r1_1 0.9
|
||||
INSERT INTO t1 VALUES (0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO t1 VALUES (
|
||||
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10) VALUES (0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10) VALUES (
|
||||
99999999999999999999999999999999999999,
|
||||
99999999999999999999999999999999999999.9999999999999999,
|
||||
0.9,
|
||||
@@ -1257,7 +1257,7 @@ INSERT INTO t1 VALUES (
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'd53' at row 1
|
||||
Warning 1264 Out of range value for column 'd53_10' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1;
|
||||
f 12345.1
|
||||
d 0
|
||||
d 11111111.111
|
||||
@@ -1288,8 +1288,8 @@ f23_0 1e38
|
||||
r1_1 0.0
|
||||
r1_1 0.9
|
||||
r1_1 0.9
|
||||
INSERT INTO t1 VALUES (-999999999999999999999999,-99999999999.999999999999,-0.9,-999.99999999999999999999,-99999999999999999.999,-999999999999999999999999999999999999999999999999999999999999-0.999,-9,-.9999999999,-999999999999999999999999999999.99999999999999999999999,-9999999999999999999999999999999999999999999.9999999999);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10) VALUES (-999999999999999999999999,-99999999999.999999999999,-0.9,-999.99999999999999999999,-99999999999999999.999,-999999999999999999999999999999999999999999999999999999999999-0.999,-9,-.9999999999,-999999999999999999999999999999.99999999999999999999999,-9999999999999999999999999999999999999999999.9999999999);
|
||||
SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1;
|
||||
f 12345.1
|
||||
d -1e60
|
||||
d 0
|
||||
@@ -1341,7 +1341,7 @@ MAX(f0) 9.999999680285692e37
|
||||
MAX(f20_3) 99999998430674940.000
|
||||
MAX(f23_0) 9.999999680285692e37
|
||||
MAX(r1_1) 0.9
|
||||
INSERT INTO t1 SELECT d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10 FROM t1 ORDER BY d53_10 DESC LIMIT 1;
|
||||
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10) SELECT d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10, d53_10 FROM t1 ORDER BY d53_10 DESC LIMIT 1;
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'f' at row 1
|
||||
Warning 1264 Out of range value for column 'f0' at row 1
|
||||
@@ -1349,7 +1349,7 @@ Warning 1264 Out of range value for column 'r1_1' at row 1
|
||||
Warning 1264 Out of range value for column 'f23_0' at row 1
|
||||
Warning 1264 Out of range value for column 'f20_3' at row 1
|
||||
Warning 1264 Out of range value for column 'd1_0' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1;
|
||||
f 12345.1
|
||||
d -1e60
|
||||
d 0
|
||||
@@ -1400,7 +1400,7 @@ r1_1 0.0
|
||||
r1_1 0.9
|
||||
r1_1 0.9
|
||||
r1_1 0.9
|
||||
INSERT INTO t1 VALUES (
|
||||
INSERT INTO t1 (f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10) VALUES (
|
||||
999999999999999999999999999999999999999,
|
||||
999999999999999999999999999999999999999.9999999999999999,
|
||||
1.9,
|
||||
@@ -1423,7 +1423,7 @@ Warning 1264 Out of range value for column 'd1_0' at row 1
|
||||
Warning 1264 Out of range value for column 'd10_10' at row 1
|
||||
Warning 1264 Out of range value for column 'd53' at row 1
|
||||
Warning 1264 Out of range value for column 'd53_10' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT f,f0,r1_1,f23_0,f20_3,d,d1_0,d10_10,d53,d53_10 FROM t1;
|
||||
f 12345.1
|
||||
d -1e60
|
||||
d 0
|
||||
@@ -1594,16 +1594,16 @@ b bigint(20) # # #
|
||||
b0 bigint(20) # # #
|
||||
b1 bigint(1) # # #
|
||||
b20 bigint(20) # # #
|
||||
INSERT INTO t1 VALUES (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20);
|
||||
INSERT INTO t1 VALUES (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO t1 VALUES (2147483647,2147483647,2147483647,2147483647,127,127,127,127,32767,32767,32767,32767,8388607,8388607,8388607,8388607,9223372036854775807,9223372036854775807,9223372036854775807,9223372036854775807);
|
||||
SELECT * FROM t1;
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (2147483647,2147483647,2147483647,2147483647,127,127,127,127,32767,32767,32767,32767,8388607,8388607,8388607,8388607,9223372036854775807,9223372036854775807,9223372036854775807,9223372036854775807);
|
||||
SELECT i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20 FROM t1;
|
||||
i i0 i1 i20 t t0 t1 t20 s s0 s1 s20 m m0 m1 m20 b b0 b1 b20
|
||||
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
||||
2147483647 2147483647 2147483647 2147483647 127 127 127 127 32767 32767 32767 32767 8388607 8388607 8388607 8388607 9223372036854775807 9223372036854775807 9223372036854775807 9223372036854775807
|
||||
INSERT INTO t1 VALUES (-2147483648,-2147483648,-2147483648,-2147483648,-128,-128,-128,-128,-32768,-32768,-32768,-32768,-8388608,-8388608,-8388608,-8388608,-9223372036854775808,-9223372036854775808,-9223372036854775808,-9223372036854775808);
|
||||
INSERT INTO t1 VALUES (4294967295,4294967295,4294967295,4294967295,255,255,255,255,65535,65535,65535,65535,16777215,16777215,16777215,16777215,18446744073709551615,18446744073709551615,18446744073709551615,18446744073709551615);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (-2147483648,-2147483648,-2147483648,-2147483648,-128,-128,-128,-128,-32768,-32768,-32768,-32768,-8388608,-8388608,-8388608,-8388608,-9223372036854775808,-9223372036854775808,-9223372036854775808,-9223372036854775808);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (4294967295,4294967295,4294967295,4294967295,255,255,255,255,65535,65535,65535,65535,16777215,16777215,16777215,16777215,18446744073709551615,18446744073709551615,18446744073709551615,18446744073709551615);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i0' at row 1
|
||||
@@ -1625,14 +1625,14 @@ Warning 1264 Out of range value for column 'b' at row 1
|
||||
Warning 1264 Out of range value for column 'b0' at row 1
|
||||
Warning 1264 Out of range value for column 'b1' at row 1
|
||||
Warning 1264 Out of range value for column 'b20' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20 FROM t1;
|
||||
i i0 i1 i20 t t0 t1 t20 s s0 s1 s20 m m0 m1 m20 b b0 b1 b20
|
||||
-2147483648 -2147483648 -2147483648 -2147483648 -128 -128 -128 -128 -32768 -32768 -32768 -32768 -8388608 -8388608 -8388608 -8388608 -9223372036854775808 -9223372036854775808 -9223372036854775808 -9223372036854775808
|
||||
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
||||
2147483647 2147483647 2147483647 2147483647 127 127 127 127 32767 32767 32767 32767 8388607 8388607 8388607 8388607 9223372036854775807 9223372036854775807 9223372036854775807 9223372036854775807
|
||||
2147483647 2147483647 2147483647 2147483647 127 127 127 127 32767 32767 32767 32767 8388607 8388607 8388607 8388607 9223372036854775807 9223372036854775807 9223372036854775807 9223372036854775807
|
||||
INSERT INTO t1 VALUES (-2147483649,-2147483649,-2147483649,-2147483649,-129,-129,-129,-129,-32769,-32769,-32769,-32769,-8388609,-8388609,-8388609,-8388609,-9223372036854775809,-9223372036854775809,-9223372036854775809,-9223372036854775809);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (-2147483649,-2147483649,-2147483649,-2147483649,-129,-129,-129,-129,-32769,-32769,-32769,-32769,-8388609,-8388609,-8388609,-8388609,-9223372036854775809,-9223372036854775809,-9223372036854775809,-9223372036854775809);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i0' at row 1
|
||||
@@ -1654,7 +1654,7 @@ Warning 1264 Out of range value for column 'b' at row 1
|
||||
Warning 1264 Out of range value for column 'b0' at row 1
|
||||
Warning 1264 Out of range value for column 'b1' at row 1
|
||||
Warning 1264 Out of range value for column 'b20' at row 1
|
||||
INSERT INTO t1 VALUES (4294967296,4294967296,4294967296,4294967296,256,256,256,256,65536,65536,65536,65536,16777216,16777216,16777216,16777216,18446744073709551616,18446744073709551616,18446744073709551616,18446744073709551616);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) VALUES (4294967296,4294967296,4294967296,4294967296,256,256,256,256,65536,65536,65536,65536,16777216,16777216,16777216,16777216,18446744073709551616,18446744073709551616,18446744073709551616,18446744073709551616);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i0' at row 1
|
||||
@@ -1676,7 +1676,7 @@ Warning 1264 Out of range value for column 'b' at row 1
|
||||
Warning 1264 Out of range value for column 'b0' at row 1
|
||||
Warning 1264 Out of range value for column 'b1' at row 1
|
||||
Warning 1264 Out of range value for column 'b20' at row 1
|
||||
INSERT INTO t1 SELECT b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b FROM t1 WHERE b IN (-9223372036854775808,9223372036854775807,18446744073709551615);
|
||||
INSERT INTO t1 (i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20) SELECT b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b FROM t1 WHERE b IN (-9223372036854775808,9223372036854775807,18446744073709551615);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i0' at row 1
|
||||
@@ -1742,7 +1742,7 @@ Warning 1264 Out of range value for column 'm' at row 4
|
||||
Warning 1264 Out of range value for column 'm0' at row 4
|
||||
Warning 1264 Out of range value for column 'm1' at row 4
|
||||
Warning 1264 Out of range value for column 'm20' at row 4
|
||||
SELECT * FROM t1;
|
||||
SELECT i,i0,i1,i20,t,t0,t1,t20,s,s0,s1,s20,m,m0,m1,m20,b,b0,b1,b20 FROM t1;
|
||||
i i0 i1 i20 t t0 t1 t20 s s0 s1 s20 m m0 m1 m20 b b0 b1 b20
|
||||
-2147483648 -2147483648 -2147483648 -2147483648 -128 -128 -128 -128 -32768 -32768 -32768 -32768 -8388608 -8388608 -8388608 -8388608 -9223372036854775808 -9223372036854775808 -9223372036854775808 -9223372036854775808
|
||||
-2147483648 -2147483648 -2147483648 -2147483648 -128 -128 -128 -128 -32768 -32768 -32768 -32768 -8388608 -8388608 -8388608 -8388608 -9223372036854775808 -9223372036854775808 -9223372036854775808 -9223372036854775808
|
||||
@@ -1912,22 +1912,22 @@ Field Type Null Key Default Extra
|
||||
a set('') # # #
|
||||
b set('test1','test2','test3','test4','test5') # # #
|
||||
c set('01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','45','46','47','48','49','50''51','52','53','54','55','56','57','58','59','60','61','62','63','64') # # #
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (a,b,c) VALUES
|
||||
('','test2,test3','01,34,44,,23'),
|
||||
('',5,2),
|
||||
(',','test4,test2','');
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b,c FROM t1;
|
||||
a b c
|
||||
test1,test3 02
|
||||
test2,test3 01,23,34,44
|
||||
test2,test4
|
||||
INSERT INTO t1 VALUES (0,'test6',-1);
|
||||
INSERT INTO t1 (a,b,c) VALUES (0,'test6',-1);
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'b' at row 1
|
||||
Warning 1265 Data truncated for column 'c' at row 1
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b,c FROM t1;
|
||||
a b c
|
||||
01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50'51,52,53,54,55,56,57,58,59,60,61,62,63,64
|
||||
test1,test3 02
|
||||
@@ -1945,7 +1945,7 @@ c set('01','02','03','04','05','06','07','08','09','10','11','12','13','14','15'
|
||||
e set('a','A') # # #
|
||||
ALTER TABLE t1 ADD COLUMN f SET('1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',' ','11','12','13','14','15','16','17','18','19','1a','1b','1c','1d','1e','1f','1g','1h','1i','1j','1k','1l','1m','1n','1o','1p','1q','1r','1s','1t','1u','1v','1w','1x','1y','1z','20','21','22','23','24','25','26','27','28','29','2a','2b','2c','2d','2e','2f','2g','2h','2i','2j','2k','2l','2m','2n','2o','2p','2q','2r','2s','2t','2u','2v','2w','2x','2y','2z','30','31','32','33','34','35','36','37','38','39','3a','3b','3c','3d','3e','3f','3g','3h','3i') <CUSTOM_COL_OPTIONS> NOT NULL;
|
||||
ERROR HY000: Too many strings for column f and SET
|
||||
SELECT * FROM t1 WHERE FIND_IN_SET('test2',b)>0 OR a != '';
|
||||
SELECT a,b,c,e FROM t1 WHERE FIND_IN_SET('test2',b)>0 OR a != '';
|
||||
a b c e
|
||||
test2,test3 01,23,34,44
|
||||
test2,test4
|
||||
@@ -2005,7 +2005,7 @@ t17m longtext # # #
|
||||
tt tinytext # # #
|
||||
m mediumtext # # #
|
||||
l longtext # # #
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (t,t0,t1,t300,tm,t70k,t17m,tt,m,l) VALUES
|
||||
('','','','','','','','','',''),
|
||||
('a','b','c','d','e','f','g','h','i','j'),
|
||||
('test1','test2','test3','test4','test5','test6','test7','test8','test9','test10'),
|
||||
@@ -2016,7 +2016,7 @@ LENGTH(t) LENGTH(t0) LENGTH(t1) LENGTH(t300) LENGTH(tm) LENGTH(t70k) LENGTH(t17m
|
||||
1 1 1 1 1 1 1 1 1 1
|
||||
5 5 5 5 5 5 5 5 5 6
|
||||
65535 65535 255 65535 65535 1048576 1048576 255 1048576 1048576
|
||||
INSERT INTO t1 VALUES
|
||||
INSERT INTO t1 (t,t0,t1,t300,tm,t70k,t17m,tt,m,l) VALUES
|
||||
( REPEAT('a',65536), REPEAT('b',65536), REPEAT('c',256), REPEAT('d',65536), REPEAT('e',65536), REPEAT('f',1048576), REPEAT('g',1048576), REPEAT('h',256), REPEAT('i',1048576), REPEAT('j',1048576) );
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 't' at row 1
|
||||
|
Reference in New Issue
Block a user