Fix some bugs

This commit is contained in:
liboyang0730
2023-05-25 02:11:29 +00:00
committed by ob-robot
parent 1679608484
commit 57e42e3359
9 changed files with 36 additions and 19 deletions

View File

@ -10,7 +10,7 @@ drop table if exists pt1;
--enable_warnings
create table pt1 (c1 int primary key, c2 int) partition by key(c1) partitions 3;
--replace_column 20 "YYYY-MM-DD hh:mm:ss"
select * from information_schema.partitions where table_name = 'pt1';
select table_schema, table_name from information_schema.partitions where table_name = 'pt1';
select * from information_schema.partitions where table_name = 'pt1' order by TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, PARTITION_NAME;
select table_schema, table_name from information_schema.partitions where table_name = 'pt1' order by TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, PARTITION_NAME;
desc information_schema.partitions;
drop table pt1;