@@ -2,7 +2,7 @@ CREATE TABLE t1 (pk BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT);
2
2
INSERT INTO t1 VALUES (5);
3
3
SHOW TABLE STATUS LIKE 't1';
4
4
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 Max_index_length Temporary
5
- t1 ROCKSDB # Fixed 1 # # # # # 6 NULL NULL NULL latin1_swedish_ci NULL 0 N
5
+ t1 ROCKSDB # Fixed # # # # # # 6 NULL NULL NULL latin1_swedish_ci NULL 0 N
6
6
INSERT INTO t1 VALUES ('538647864786478647864');
7
7
Warnings:
8
8
Warning 1264 Out of range value for column 'pk' at row 1
21
21
9223372036854775807
22
22
SHOW TABLE STATUS LIKE 't1';
23
23
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 Max_index_length Temporary
24
- t1 ROCKSDB # Fixed 2 # # # # # 9223372036854775807 NULL NULL NULL latin1_swedish_ci NULL 0 N
24
+ t1 ROCKSDB # Fixed # # # # # # 9223372036854775807 NULL NULL NULL latin1_swedish_ci NULL 0 N
25
25
INSERT INTO t1 VALUES ();
26
26
ERROR 23000: Duplicate entry '9223372036854775807' for key 'PRIMARY'
27
27
SELECT * FROM t1;
30
30
9223372036854775807
31
31
SHOW TABLE STATUS LIKE 't1';
32
32
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 Max_index_length Temporary
33
- t1 ROCKSDB # Fixed 2 # # # # # 9223372036854775807 NULL NULL NULL latin1_swedish_ci NULL 0 N
33
+ t1 ROCKSDB # Fixed # # # # # # 9223372036854775807 NULL NULL NULL latin1_swedish_ci NULL 0 N
34
34
DROP TABLE t1;
35
35
CREATE TABLE t1 (pk TINYINT NOT NULL PRIMARY KEY AUTO_INCREMENT);
36
36
INSERT INTO t1 VALUES (5);
37
37
SHOW TABLE STATUS LIKE 't1';
38
38
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 Max_index_length Temporary
39
- t1 ROCKSDB # Fixed 1 # # # # # 6 NULL NULL NULL latin1_swedish_ci NULL 0 N
39
+ t1 ROCKSDB # Fixed # # # # # # 6 NULL NULL NULL latin1_swedish_ci NULL 0 N
40
40
INSERT INTO t1 VALUES (1000);
41
41
Warnings:
42
42
Warning 1264 Out of range value for column 'pk' at row 1
46
46
127
47
47
SHOW TABLE STATUS LIKE 't1';
48
48
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 Max_index_length Temporary
49
- t1 ROCKSDB # Fixed 2 # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL 0 N
49
+ t1 ROCKSDB # Fixed # # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL 0 N
50
50
INSERT INTO t1 VALUES ();
51
51
ERROR 23000: Duplicate entry '127' for key 'PRIMARY'
52
52
SELECT * FROM t1;
55
55
127
56
56
SHOW TABLE STATUS LIKE 't1';
57
57
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 Max_index_length Temporary
58
- t1 ROCKSDB # Fixed 2 # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL 0 N
58
+ t1 ROCKSDB # Fixed # # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL 0 N
59
59
INSERT INTO t1 VALUES ();
60
60
ERROR 23000: Duplicate entry '127' for key 'PRIMARY'
61
61
SELECT * FROM t1;
64
64
127
65
65
SHOW TABLE STATUS LIKE 't1';
66
66
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 Max_index_length Temporary
67
- t1 ROCKSDB # Fixed 2 # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL 0 N
67
+ t1 ROCKSDB # Fixed # # # # # # 127 NULL NULL NULL latin1_swedish_ci NULL 0 N
68
68
DROP TABLE t1;
0 commit comments