Skip to content

Commit 2fb8c7d

Browse files
committed
Merge branch 'mysql-5.7-cluster-7.6' into mysql-8.0
Change-Id: I81efeda0204b35330d161baab7a5be4bd58f68f9
2 parents 7874d7f + f9f062e commit 2fb8c7d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

storage/ndb/plugin/ha_ndbcluster.cc

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13838,16 +13838,13 @@ int ha_ndbcluster::multi_range_start_retrievals(uint starting_range) {
1383813838
type_loc = enum_empty_unique_range;
1383913839
else {
1384013840
/*
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.
1384813846
*/
13849-
assert(false);
13850-
ERR_RETURN(error); /* purecov: deadcode */
13847+
ERR_RETURN(error);
1385113848
}
1385213849
}
1385313850
}

0 commit comments

Comments
 (0)