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:
committed by
Sachin Setiya
parent
84726906c9
commit
022b163ac8
@ -5528,7 +5528,8 @@ find_field_in_table(THD *thd, TABLE *table, const char *name, uint length,
|
||||
|
||||
if (field_ptr && *field_ptr)
|
||||
{
|
||||
if ((*field_ptr)->field_visibility == COMPLETELY_INVISIBLE)
|
||||
if ((*field_ptr)->field_visibility == COMPLETELY_INVISIBLE &&
|
||||
DBUG_EVALUATE_IF("test_completely_invisible", 0, 1))
|
||||
DBUG_RETURN((Field*)0);
|
||||
|
||||
*cached_field_index_ptr= field_ptr - table->field;
|
||||
|
Reference in New Issue
Block a user