File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -4453,9 +4453,12 @@ row_search_mvcc(
4453
4453
switch (row_search_idx_cond_check (
4454
4454
buf, prebuilt,
4455
4455
rec, offsets)) {
4456
+ case CHECK_ABORTED_BY_USER:
4457
+ err = DB_INTERRUPTED;
4458
+ mtr.commit ();
4459
+ goto func_exit;
4456
4460
case CHECK_NEG:
4457
4461
case CHECK_OUT_OF_RANGE:
4458
- case CHECK_ABORTED_BY_USER:
4459
4462
case CHECK_ERROR:
4460
4463
goto shortcut_mismatch;
4461
4464
case CHECK_POS:
@@ -5239,9 +5242,11 @@ row_search_mvcc(
5239
5242
buf, prebuilt, rec, offsets)) {
5240
5243
case CHECK_NEG:
5241
5244
goto next_rec;
5242
- case CHECK_OUT_OF_RANGE:
5243
5245
case CHECK_ABORTED_BY_USER:
5244
- case CHECK_ERROR:
5246
+ err = DB_INTERRUPTED;
5247
+ goto idx_cond_failed;
5248
+ case CHECK_OUT_OF_RANGE:
5249
+ case CHECK_ERROR:
5245
5250
err = DB_RECORD_NOT_FOUND;
5246
5251
goto idx_cond_failed;
5247
5252
case CHECK_POS:
You can’t perform that action at this time.
0 commit comments