Skip to content

Commit

Permalink
update integreation test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Apr 17, 2024
1 parent a181a66 commit 5f648b1
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions tests/integrationtest/r/executor/autoid.result
Original file line number Diff line number Diff line change
Expand Up @@ -575,123 +575,123 @@ create table io (a int key auto_increment);
insert into io values (null),(null),(null);
select * from io;
a
10
15
20
1
6
11
drop table io;
create table io (a int key auto_increment) AUTO_ID_CACHE 1;
insert into io values (null),(null),(null);
select * from io;
a
10
15
20
1
6
11
drop table io;
create table io (a int key auto_increment);
set auto_increment_offset = 10;
set auto_increment_increment = 2;
insert into io values (),(),();
select * from io;
a
10
12
14
1
3
5
delete from io;
set auto_increment_increment = 5;
insert into io values (),(),();
select * from io;
a
15
20
25
6
11
16
delete from io;
set auto_increment_increment = 10;
insert into io values (),(),();
select * from io;
a
20
30
40
50
delete from io;
set auto_increment_increment = 5;
insert into io values (),(),();
select * from io;
a
55
60
65
41
46
51
drop table io;
create table io (a int key auto_increment) AUTO_ID_CACHE 1;
set auto_increment_offset = 10;
set auto_increment_increment = 2;
insert into io values (),(),();
select * from io;
a
10
12
14
1
3
5
delete from io;
set auto_increment_increment = 5;
insert into io values (),(),();
select * from io;
a
15
20
25
6
11
16
delete from io;
set auto_increment_increment = 10;
insert into io values (),(),();
select * from io;
a
20
30
40
50
delete from io;
set auto_increment_increment = 5;
insert into io values (),(),();
select * from io;
a
55
60
65
41
46
51
drop table io;
set auto_increment_offset = 10;
set auto_increment_increment = 2;
create table io (a int, b int auto_increment, key(b));
insert into io(b) values (null),(null),(null);
select b from io;
b
10
12
14
1
3
5
select _tidb_rowid from io;
_tidb_rowid
15
16
17
6
7
8
delete from io;
set auto_increment_increment = 10;
insert into io(b) values (null),(null),(null);
select b from io;
b
10
20
30
40
select _tidb_rowid from io;
_tidb_rowid
41
42
43
31
32
33
drop table io;
set auto_increment_offset = 10;
set auto_increment_increment = 2;
create table io (a int, b int auto_increment, key(b)) AUTO_ID_CACHE 1;
insert into io(b) values (null),(null),(null);
select b from io;
b
10
12
14
1
3
5
select _tidb_rowid from io;
_tidb_rowid
1
Expand All @@ -702,9 +702,9 @@ set auto_increment_increment = 10;
insert into io(b) values (null),(null),(null);
select b from io;
b
10
20
30
40
select _tidb_rowid from io;
_tidb_rowid
4
Expand Down

0 comments on commit 5f648b1

Please sign in to comment.