diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 05da107f0ea07..f7d8d0009d447 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -331,7 +331,7 @@ class SEL_ARG :public Sql_alloc const SEL_ARG *cmp_arg= arg->first(); const SEL_ARG *cur_arg= first(); for (; cur_arg && cmp_arg && cur_arg->is_same(cmp_arg); - cur_arg= cur_arg->next, cmp_arg= cmp_arg->next); + cur_arg= cur_arg->next, cmp_arg= cmp_arg->next) ; if (cur_arg || cmp_arg) return false; return true;