mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#35428 When selecting from INFORMATION_SCHEMA tables, incomplete metadata
backport to Betony
This commit is contained in:
@ -9947,6 +9947,8 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
|
||||
share->primary_key= MAX_KEY; // Indicate no primary key
|
||||
share->keys_for_keyread.init();
|
||||
share->keys_in_use.init();
|
||||
if (param->schema_table)
|
||||
share->db= INFORMATION_SCHEMA_NAME;
|
||||
|
||||
/* Calculate which type of fields we will store in the temporary table */
|
||||
|
||||
|
Reference in New Issue
Block a user