mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
cleanup: renames
enum_mark_columns -> enum_column_usage mark_used_columns -> column_usage further commits will replace MARK_COLUMN_NONE with COLUMN_READ and COLUMN_WRITE that convey the intention without causing columns to be marked
This commit is contained in:
@@ -2858,12 +2858,12 @@ static bool fix_vcol_expr(THD *thd, Virtual_column_info *vcol)
|
||||
{
|
||||
DBUG_ENTER("fix_vcol_expr");
|
||||
|
||||
const enum enum_mark_columns save_mark_used_columns= thd->mark_used_columns;
|
||||
thd->mark_used_columns= MARK_COLUMNS_NONE;
|
||||
const enum enum_column_usage saved_column_usage= thd->column_usage;
|
||||
thd->column_usage= MARK_COLUMNS_NONE;
|
||||
|
||||
int error= vcol->expr->fix_fields(thd, &vcol->expr);
|
||||
|
||||
thd->mark_used_columns= save_mark_used_columns;
|
||||
thd->column_usage= saved_column_usage;
|
||||
|
||||
if (unlikely(error))
|
||||
{
|
||||
|
Reference in New Issue
Block a user