mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
mysql parser refactor.
This commit is contained in:
@@ -504,7 +504,9 @@ public abstract class WallProvider {
|
||||
try {
|
||||
WallContext.create(dbType);
|
||||
WallCheckResult result = checkInternal(sql);
|
||||
return result.getViolations().isEmpty();
|
||||
return result
|
||||
.getViolations()
|
||||
.isEmpty();
|
||||
} finally {
|
||||
|
||||
if (originalContext == null) {
|
||||
|
||||
Reference in New Issue
Block a user