Changeset: c24eb7d3c6f9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c24eb7d3c6f9
Modified Files:
        monetdb5/modules/mal/calc.mal
        monetdb5/modules/mal/calc.mal.sh
Branch: default
Log Message:

Added calc.isnil and calc.isnotnil for type BAT.


diffs (37 lines):

diff --git a/monetdb5/modules/mal/calc.mal b/monetdb5/modules/mal/calc.mal
--- a/monetdb5/modules/mal/calc.mal
+++ b/monetdb5/modules/mal/calc.mal
@@ -92,6 +92,10 @@ pattern isnil(v:str) :bit
 address CMDvarISNIL
 comment "Unary check for nil of V";
 
+pattern isnil(v:bat) :bit
+address CMDvarISNIL
+comment "Unary check for nil of V";
+
 
 pattern isnotnil(v:void) :bit
 address CMDvarISNOTNIL
@@ -137,6 +141,10 @@ pattern isnotnil(v:str) :bit
 address CMDvarISNOTNIL
 comment "Unary check for notnil of V";
 
+pattern isnotnil(v:bat) :bit
+address CMDvarISNOTNIL
+comment "Unary check for notnil of V";
+
 
 pattern not(v:bit) :bit
 address CMDvarNOT
diff --git a/monetdb5/modules/mal/calc.mal.sh b/monetdb5/modules/mal/calc.mal.sh
--- a/monetdb5/modules/mal/calc.mal.sh
+++ b/monetdb5/modules/mal/calc.mal.sh
@@ -55,7 +55,7 @@ done
 echo
 
 for func in nil notnil; do
-    for tp in void $alltypes; do
+    for tp in void $alltypes bat; do
        cat <<EOF
 pattern is$func(v:$tp) :bit
 address CMDvarIS${func^^}
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to