mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
change fatal error code for oceanbase
This commit is contained in:
@@ -70,7 +70,7 @@ public class MySqlExceptionSorter implements ExceptionSorter {
|
||||
}
|
||||
|
||||
// for oceanbase
|
||||
if (errorCode >= -10000 && errorCode <= -9000) {
|
||||
if (errorCode >= -9000 && errorCode <= -8000) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user