mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
MySqlExceptionSorter support oceanbase
This commit is contained in:
@@ -58,6 +58,10 @@ public class MySqlExceptionSorter implements ExceptionSorter {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (errorCode >= -10000 && errorCode <= -9000) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user