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.
This commit is contained in:
Sergei Petrunia 2024-06-14 13:41:03 +03:00
parent a2066b2400
commit 0903276eae

View file

@ -736,7 +736,6 @@ public:
{
return
thd->killed ||
thd->is_fatal_error ||
thd->is_error() ||
alloced_sel_args > SEL_ARG::MAX_SEL_ARGS;
}