mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for Auto_increment filed value in 'show table status'
code cleanup mysql-test/r/information_schema.result: Fix for Auto_increment filed value in 'show table status' mysql-test/t/information_schema.test: Fix for Auto_increment filed value in 'show table status'
This commit is contained in:
@ -439,3 +439,9 @@ v
|
||||
call px5()//
|
||||
v
|
||||
9
|
||||
create table t1 (a int not null auto_increment,b int, primary key (a));
|
||||
insert into t1 values (1,1),(NULL,3),(NULL,4);
|
||||
select AUTO_INCREMENT from information_schema.tables where table_name = 't1';
|
||||
AUTO_INCREMENT
|
||||
4
|
||||
drop table t1;
|
||||
|
@ -218,7 +218,8 @@ call px5()//
|
||||
call px5()//
|
||||
delimiter ;//
|
||||
|
||||
|
||||
|
||||
|
||||
create table t1 (a int not null auto_increment,b int, primary key (a));
|
||||
insert into t1 values (1,1),(NULL,3),(NULL,4);
|
||||
select AUTO_INCREMENT from information_schema.tables where table_name = 't1';
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user