We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 587b74f commit 979b53bCopy full SHA for 979b53b
src/main/java/com/oltpbenchmark/api/Worker.java
@@ -500,7 +500,7 @@ private boolean isRetryable(SQLException ex) {
500
if (errorCode == 1213 && sqlState.equals("40001")) {
501
// MySQL ER_LOCK_DEADLOCK
502
return true;
503
- } else if (errorCode == 1205 && sqlState.equals("41000")) {
+ } else if (errorCode == 1205 && sqlState.equals("40001")) {
504
// MySQL ER_LOCK_WAIT_TIMEOUT
505
506
}
0 commit comments