Commit 0903276e authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-30651: Assertion `sel->quick' in make_range_rowid_filters, followup

Review followup: RANGE_OPT_PARAM statement_should_be_aborted()
checks for thd->is_fatal_error and thd->is_error(). The first is
redundant when the second is present.
parent a2066b24
......@@ -736,7 +736,6 @@ class RANGE_OPT_PARAM
{
return
thd->killed ||
thd->is_fatal_error ||
thd->is_error() ||
alloced_sel_args > SEL_ARG::MAX_SEL_ARGS;
}
......
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