Fixed null acting as a string with matching operator (~) and split() (#662)
* Fixed null acting as a string with matching operator (~)
This commit is contained in:
1 parent
69d2b6df11
commit
c0e2d17377
1 file changed
+5
@@ -44,6 +44,11 @@ public class NullValue extends NumericValue // TODO check nonsingleton code
|
|||||||
return o instanceof NullValue ? 0 : -1;
|
return o instanceof NullValue ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Value in(Value value) {
|
||||||
|
return Value.NULL;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getTypeString()
|
public String getTypeString()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user