mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Follow-up for 54db0be3be
(Added Max_index_length and Temporary)
This commit is contained in:
@ -51,15 +51,15 @@ LAST_INSERT_ID()
|
||||
5
|
||||
SET sql_mode = '<INITIAL_SQL_MODE>';
|
||||
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 <STORAGE_ENGINE> # # # # # # # # 6 # # # # # # #
|
||||
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
|
||||
t1 <STORAGE_ENGINE> # # # # # # # # 6 # # # # # # # # N
|
||||
INSERT INTO t1 (a,b) VALUES (6,'g'),(7,'h');
|
||||
SELECT LAST_INSERT_ID();
|
||||
LAST_INSERT_ID()
|
||||
5
|
||||
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 # # # # # # #
|
||||
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
|
||||
t1 # # # # # # # # # 8 # # # # # # # # N
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'i'),(9,'j');
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
@ -77,12 +77,12 @@ SELECT LAST_INSERT_ID();
|
||||
LAST_INSERT_ID()
|
||||
8
|
||||
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 # # # # # # # # # 10 # # # # # # #
|
||||
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
|
||||
t1 # # # # # # # # # 10 # # # # # # # # N
|
||||
INSERT INTO t1 (a,b) VALUES (20,'k');
|
||||
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 # # # # # # #
|
||||
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
|
||||
t1 # # # # # # # # # 21 # # # # # # # # N
|
||||
INSERT INTO t1 (a,b) VALUES (NULL,'l');
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
@ -102,8 +102,8 @@ SELECT LAST_INSERT_ID();
|
||||
LAST_INSERT_ID()
|
||||
21
|
||||
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 # # # # # # #
|
||||
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
|
||||
t1 # # # # # # # # # 22 # # # # # # # # N
|
||||
INSERT INTO t1 (a,b) VALUES (-5,'m');
|
||||
SELECT a,b FROM t1 ORDER BY a;
|
||||
a b
|
||||
|
Reference in New Issue
Block a user