1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Add tests for system and completely invisible columns

debug only
This commit is contained in:
Sergei Golubchik
2017-12-03 15:37:32 +01:00
committed by Sachin Setiya
parent 84726906c9
commit 022b163ac8
5 changed files with 509 additions and 3 deletions

View File

@ -6389,7 +6389,8 @@ static int get_schema_stat_record(THD *thd, TABLE_LIST *tables,
}
for (uint i=0 ; i < show_table->s->keys ; i++,key_info++)
{
if ((key_info->flags & HA_INVISIBLE_KEY))
if ((key_info->flags & HA_INVISIBLE_KEY) &&
DBUG_EVALUATE_IF("test_invisible_index", 0, 1))
continue;
KEY_PART_INFO *key_part= key_info->key_part;
LEX_CSTRING *str;