Skip to content

Commit 0903276

Browse files
committed
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.
1 parent a2066b2 commit 0903276

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/opt_range.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,6 @@ class RANGE_OPT_PARAM
736736
{
737737
return
738738
thd->killed ||
739-
thd->is_fatal_error ||
740739
thd->is_error() ||
741740
alloced_sel_args > SEL_ARG::MAX_SEL_ARGS;
742741
}

0 commit comments

Comments
 (0)