Merge "Merge branch 'stable-3.0'"

This commit is contained in:
David Ostrovsky
2019-06-17 19:46:32 +00:00
committed by Gerrit Code Review
6 changed files with 15 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ public class MysqlAccountPatchReviewStore extends JdbcAccountPatchReviewStore {
@Override
public StorageException convertError(String op, SQLException err) {
switch (getSQLStateInt(err)) {
switch (err.getErrorCode()) {
case 1022: // ER_DUP_KEY
case 1062: // ER_DUP_ENTRY
case 1169: // ER_DUP_UNIQUE;