You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/integrationtest/r/infoschema/infoschema.result
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,16 @@ engine DATA_LENGTH
134
134
InnoDB 8
135
135
drop table infoschema__infoschema.t4;
136
136
drop table infoschema__infoschema.t5;
137
+
create table caseSensitive (a int);
138
+
create table unrelatedTable (a int);
139
+
select table_schema, table_name from information_schema.tables where table_schema = 'infoschema__infoschema' and table_name like '%aseSensitive';
140
+
table_schema table_name
141
+
infoschema__infoschema caseSensitive
142
+
select table_schema, table_name, tidb_pk_type from information_schema.tables where table_schema = 'infoschema__infoschema' and table_name like '%aseSensitive';
143
+
table_schema table_name tidb_pk_type
144
+
infoschema__infoschema caseSensitive NONCLUSTERED
145
+
drop table caseSensitive;
146
+
drop table unrelatedTable;
137
147
create table pt1(a int primary key, b int) partition by hash(a) partitions 4;
138
148
create table pt2(a int primary key, b int) partition by hash(a) partitions 4;
139
149
select TABLE_NAME, PARTITION_NAME from information_schema.partitions where table_schema = 'infoschema__infoschema';
Copy file name to clipboardExpand all lines: tests/integrationtest/t/infoschema/infoschema.test
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,12 @@ explain select engine, DATA_LENGTH from information_schema.tables where table_na
60
60
select engine, DATA_LENGTH from information_schema.tables where table_name ='t4' and upper(table_name) ='T4' and table_schema = 'infoschema__infoschema';
61
61
drop table infoschema__infoschema.t4;
62
62
drop table infoschema__infoschema.t5;
63
+
create table caseSensitive (a int);
64
+
create table unrelatedTable (a int);
65
+
select table_schema, table_name from information_schema.tables where table_schema = 'infoschema__infoschema' and table_name like '%aseSensitive';
66
+
select table_schema, table_name, tidb_pk_type from information_schema.tables where table_schema = 'infoschema__infoschema' and table_name like '%aseSensitive';
67
+
drop table caseSensitive;
68
+
drop table unrelatedTable;
63
69
64
70
# TestPartitionsColumn
65
71
create table pt1(a int primary key, b int) partition by hash(a) partitions 4;
0 commit comments