summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 8c8145c431c..bec89dbb440 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -3574,7 +3574,6 @@ static bool fix_and_check_vcol_expr(THD *thd, TABLE *table,
to be part of the virtual column
*/
Item::vcol_func_processor_result res;
- res.errors= 0;
int error= func_expr->walk(&Item::check_vcol_func_processor, 0, &res);
if (unlikely(error || (res.errors & VCOL_IMPOSSIBLE)))