[Commits] ad09deae4e8: post merge fix
revision-id: ad09deae4e838fff3c8e0ee000f3a2b6888f4bf2 (mariadb-10.3.10-82-gad09deae4e8) parent(s): aa34ad852ccc8a68bfef25dd6328d2c027d2dc7d author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2018-11-15 20:09:26 +0100 message: post merge fix --- sql/item.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sql/item.cc b/sql/item.cc index 65d1ec4fdf6..529abad08cc 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -9226,10 +9226,10 @@ bool Item_default_value::fix_fields(THD *thd, Item **items) */ enum_column_usage save_column_usage= thd->column_usage; /* - Here should be something like MARK_COLUMN_NONE because we do not read - them but COLUMNS_READ is the best what we can assign here. + Fields which has defult value could be read, so it is better hide system + invisible columns. */ - thd->column_usage= COLUMNS_READ; + thd->column_usage= COLUMNS_WRITE; if (arg->fix_fields_if_needed(thd, &arg)) { thd->column_usage= save_column_usage;
participants (1)
-
Oleksandr Byelkin