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

cleanup: remove MARK_COLUMNS_NONE

This commit is contained in:
Sergei Golubchik
2018-02-10 19:10:59 +01:00
parent 103715d0fa
commit 34ee747f55
9 changed files with 20 additions and 15 deletions

View File

@ -5352,7 +5352,7 @@ Field *view_ref_found= (Field*) 0x2;
static void update_field_dependencies(THD *thd, Field *field, TABLE *table)
{
DBUG_ENTER("update_field_dependencies");
if (thd->column_usage != MARK_COLUMNS_NONE)
if (should_mark_column(thd->column_usage))
{
MY_BITMAP *bitmap;
@ -5834,7 +5834,7 @@ find_field_in_table_ref(THD *thd, TABLE_LIST *table_list,
fld= WRONG_GRANT;
else
#endif
if (thd->column_usage != MARK_COLUMNS_NONE)
if (should_mark_column(thd->column_usage))
{
/*
Get rw_set correct for this field so that the handler