diff options
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/BaseEvalContext.java')
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/BaseEvalContext.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/BaseEvalContext.java b/src/main/java/com/healthmarketscience/jackcess/impl/BaseEvalContext.java index 230afe2..9d72413 100644 --- a/src/main/java/com/healthmarketscience/jackcess/impl/BaseEvalContext.java +++ b/src/main/java/com/healthmarketscience/jackcess/impl/BaseEvalContext.java @@ -87,7 +87,7 @@ public abstract class BaseEvalContext implements EvalContext } public Value.Type getResultType() { - throw new UnsupportedOperationException(); + return null; } public Value getThisColumnValue() { @@ -181,7 +181,8 @@ public abstract class BaseEvalContext implements EvalContext private Expression getExpr() { // when the expression is parsed we replace the raw version - Expression expr = Expressionator.parse(_exprType, _exprStr, _dbCtx); + Expression expr = Expressionator.parse( + _exprType, _exprStr, getResultType(), _dbCtx); _expr = expr; return expr; } |