File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -13838,16 +13838,13 @@ int ha_ndbcluster::multi_range_start_retrievals(uint starting_range) {
13838
13838
type_loc = enum_empty_unique_range;
13839
13839
else {
13840
13840
/*
13841
- This shouldn't really happen.
13842
-
13843
- There aren't really any other errors that could happen on the read
13844
- without also aborting the transaction and causing execute() to
13845
- return failure.
13846
-
13847
- (But we can still safely return an error code in non-debug builds).
13841
+ Some operation error that did not cause transaction
13842
+ rollback, but was unexpected when performing these
13843
+ lookups.
13844
+ Return error to caller, expecting caller to rollback
13845
+ transaction.
13848
13846
*/
13849
- assert(false);
13850
- ERR_RETURN(error); /* purecov: deadcode */
13847
+ ERR_RETURN(error);
13851
13848
}
13852
13849
}
13853
13850
}
You can’t perform that action at this time.
0 commit comments