From 32a763cc7b0049d2bcad3ad4cecdaf12117b68b6 Mon Sep 17 00:00:00 2001 From: shangyanwen <18392868125@163.com> Date: Thu, 27 Oct 2022 16:21:25 +0800 Subject: [PATCH] test(mtr):update create_table.test(#497) --- mysql-test/suite/tianmu/r/create_table.result | 15 --------------- mysql-test/suite/tianmu/t/create_table.test | 11 ----------- 2 files changed, 26 deletions(-) diff --git a/mysql-test/suite/tianmu/r/create_table.result b/mysql-test/suite/tianmu/r/create_table.result index ecdbcf6da..a09e857a3 100644 --- a/mysql-test/suite/tianmu/r/create_table.result +++ b/mysql-test/suite/tianmu/r/create_table.result @@ -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; diff --git a/mysql-test/suite/tianmu/t/create_table.test b/mysql-test/suite/tianmu/t/create_table.test index 3adaf288e..bfcd79dd7 100644 --- a/mysql-test/suite/tianmu/t/create_table.test +++ b/mysql-test/suite/tianmu/t/create_table.test @@ -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 # -- GitLab