Merge branch 'stable-3.0'
* stable-3.0: 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: Ibd894f61d0ce7d33b3024a8c0f07d322a87ffce0
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