mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-14785 SYSTEM_INVISIBLE behaviour not consistent
Hide INVISIBLE_SYSTEM columns from writes and from fix_vcol_expr().
This commit is contained in:
@ -5648,6 +5648,11 @@ find_field_in_table(THD *thd, TABLE *table, const char *name, size_t length,
|
||||
if (field->invisible == INVISIBLE_FULL &&
|
||||
DBUG_EVALUATE_IF("test_completely_invisible", 0, 1))
|
||||
DBUG_RETURN((Field*)0);
|
||||
|
||||
if (field->invisible == INVISIBLE_SYSTEM &&
|
||||
thd->column_usage != MARK_COLUMNS_READ &&
|
||||
thd->column_usage != COLUMNS_READ)
|
||||
DBUG_RETURN((Field*)0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user