improved MySqlExceptionSorter. support aliyun rds access denied error code.

This commit is contained in:
wenshao
2016-09-27 11:12:16 +08:00
parent 4833b71e83
commit 9481c8d604
@@ -51,6 +51,9 @@ public class MySqlExceptionSorter implements ExceptionSorter {
// Out-of-memory errors
case 1037: // ER_OUTOFMEMORY
case 1038: // ER_OUT_OF_SORTMEMORY
// Access denied
case 1142: // ER_TABLEACCESS_DENIED_ERROR
case 1227: // ER_SPECIFIC_ACCESS_DENIED_ERROR
return true;
default:
break;