REQ-2135: make unsupported bin expr to expose the issue
This commit is contained in:
parent
5dbc08a3c4
commit
2e4ac15c04
@ -83,8 +83,11 @@ class EvalVisitor implements SQLASTVisitor {
|
||||
value = leftValue == null;
|
||||
else if (operator == SQLBinaryOperator.IsNot)
|
||||
value = leftValue != null;
|
||||
} else
|
||||
} else {
|
||||
log.warn("Unsupported bin expr: {}", SQLUtils.toMySqlString(x));
|
||||
// make it false to expose the issue
|
||||
value = false;
|
||||
}
|
||||
x.putAttribute(VALUE, value);
|
||||
return visitRight.get();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user