Skip to content

Commit

Permalink
test(mtr):update create_table.test(stoneatom#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
shangyanwen authored and mergify[bot] committed Oct 27, 2022
1 parent 87c8638 commit 32a763c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
15 changes: 0 additions & 15 deletions mysql-test/suite/tianmu/r/create_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -216,21 +216,6 @@ x'4132'
A2
drop table t1;
#
# Test create table if not exists with duplicate key error
#
create table t1 (a int not null, b int, primary key (a));
insert into t1 values (1,1);
select * from t1;
a b
1 1
show status like "Opened_tables";
Variable_name Value
Opened_tables 12
select * from t1;
a b
1 1
drop table t1;
#
# "Table truncated when creating another table name with Spaces"
#
create table `t1 `(a int)engine=tianmu;
Expand Down
11 changes: 0 additions & 11 deletions mysql-test/suite/tianmu/t/create_table.test
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,6 @@ create table if not exists t1 select 1;
select * from t1;
drop table t1;

--echo #
--echo # Test create table if not exists with duplicate key error
--echo #

create table t1 (a int not null, b int, primary key (a));
insert into t1 values (1,1);
select * from t1;
show status like "Opened_tables";
select * from t1;
drop table t1;

--echo #
--echo # "Table truncated when creating another table name with Spaces"
--echo #
Expand Down

0 comments on commit 32a763c

Please sign in to comment.