Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
N/A
-
None
Description
MDEV-12459 introduced table_type TEMPORARY for temporary tables. However, for temporary sequences I_S.TABLES shows the generic SEQUENCE, same as for normal sequences.
They are still distinguishable via TEMPORARY column in I_S.TABLES, but it appears inconsistent, and besides there is a discussion in MDEV-12459 about removing the column.
create sequence s; |
create temporary sequence s; |
select table_name, table_type, temporary from information_schema.tables where table_name = 's'; |
 |
# Cleanup
|
drop sequence s; |
drop sequence s; |
preview-10.9-MDEV-20119-misc c906db30 |
select table_name, table_type, temporary from information_schema.tables where table_name = 's'; |
table_name table_type temporary |
s SEQUENCE Y |
s SEQUENCE N |
Attachments
Issue Links
- is caused by
-
MDEV-12459 The information_schema tables for getting temporary tables info is missing, at least for innodb there is no INNODB_TEMP_TABLE_INFO
- Closed