mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -8,7 +8,7 @@ t1 CREATE TABLE `t1` (
|
||||
KEY `a` (`a`)
|
||||
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1
|
||||
INSERT INTO t1 (b) VALUES ('a'),('b');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
1 a
|
||||
2 b
|
||||
@ -16,7 +16,7 @@ SELECT LAST_INSERT_ID();
|
||||
LAST_INSERT_ID()
|
||||
1
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'c'),(0,'d');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
1 a
|
||||
2 b
|
||||
@ -27,7 +27,7 @@ LAST_INSERT_ID()
|
||||
3
|
||||
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'e');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
1 a
|
||||
2 b
|
||||
@ -38,7 +38,7 @@ SELECT LAST_INSERT_ID();
|
||||
LAST_INSERT_ID()
|
||||
5
|
||||
INSERT INTO t1 (a,b) VALUES (0,'f');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
0 f
|
||||
1 a
|
||||
@ -61,7 +61,7 @@ SHOW TABLE STATUS FROM test LIKE 't1';
|
||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||
t1 # # # # # # # # # 8 # # # # # # #
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'i'),(9,'j');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
0 f
|
||||
1 a
|
||||
@ -84,7 +84,7 @@ SHOW TABLE STATUS FROM test LIKE 't1';
|
||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||
t1 # # # # # # # # # 21 # # # # # # #
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'l');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
0 f
|
||||
1 a
|
||||
@ -105,7 +105,7 @@ SHOW TABLE STATUS FROM test LIKE 't1';
|
||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
||||
t1 # # # # # # # # # 22 # # # # # # #
|
||||
INSERT INTO t1 (a,b) VALUES (-5,'m');
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
-5 m
|
||||
0 f
|
||||
@ -123,7 +123,7 @@ a b
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a <INT_COLUMN> AUTO_INCREMENT, b <CHAR_COLUMN>, <CUSTOM_INDEX>(a)) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> AUTO_INCREMENT = 100;
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'a'),(NULL,'b');
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b FROM t1;
|
||||
a b
|
||||
100 a
|
||||
101 b
|
||||
|
Reference in New Issue
Block a user