1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-32919 Cannot select particular field from IS.tables in case table needs upgrade from MySQL 5.7

use the same condition in
fill_schema_table_from_frm() when open_table_from_share() fails, as in
fill_schema_table_from_frm() when tdc_aquire_share() fails and as in
fill_schema_table_from_open() when open_table_from_share() fails
This commit is contained in:
Sergei Golubchik
2024-11-16 18:17:08 +01:00
parent cc99a41502
commit deb20fb751
3 changed files with 22 additions and 3 deletions

View File

@@ -43,6 +43,9 @@ show create table tempty;
--error ER_TABLE_NEEDS_REBUILD
select * from tempty;
--sorted_result
select table_name, table_comment from information_schema.tables where table_schema='test' and table_comment!='VIEW';
alter table tempty force;
show create table tempty;