1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -1935,7 +1935,7 @@ bool check_key_in_view(THD *thd, TABLE_LIST *view)
marking as used fields which are not used
*/
enum_column_usage saved_column_usage= thd->column_usage;
thd->column_usage= MARK_COLUMNS_NONE;
thd->column_usage= COLUMNS_WRITE;
DBUG_PRINT("info", ("thd->column_usage: %d", thd->column_usage));
for (Field_translator *fld= trans; fld < end_of_trans; fld++)
{