Commit 92996c9a authored by Marko Mäkelä's avatar Marko Mäkelä

Merge bb-10.3-release into 10.3

parents fd58bb71 fe0e65db
This diff is collapsed.
......@@ -9225,7 +9225,11 @@ bool Item_default_value::fix_fields(THD *thd, Item **items)
field value (mark column for read)
*/
enum_column_usage save_column_usage= thd->column_usage;
thd->column_usage= COLUMNS_READ;
/*
Fields which has defult value could be read, so it is better hide system
invisible columns.
*/
thd->column_usage= COLUMNS_WRITE;
if (arg->fix_fields_if_needed(thd, &arg))
{
thd->column_usage= save_column_usage;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment