mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for visitor
This commit is contained in:
@@ -808,6 +808,11 @@ public class SQLEvalVisitorUtils {
|
||||
x.putAttribute(EVAL_VALUE, EVAL_ERROR);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (val == null) {
|
||||
x.putAttribute(EVAL_VALUE, EVAL_VALUE_NULL);
|
||||
return false;
|
||||
}
|
||||
|
||||
switch (x.getOperator()) {
|
||||
case BINARY:
|
||||
|
||||
Reference in New Issue
Block a user