Merge branch 'stable-2.16' into stable-3.0
* stable-2.16: Use dom-if instead of css when hiding gr-http-password MysqlAccountPatchReviewStore: Fix duplicate key detection Bazel: Bump minimum supported version to 0.26.1 Change-Id: I5e15b9c04145336c63640ea5cf359648c7e063b3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user