Changeset: 4b9b846821d5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4b9b846821d5
Modified Files:
monetdb5/extras/compiler/Tests/mal01.mal
monetdb5/modules/kernel/batmtime.mx
Branch: default
Log Message:
Go for oid-headed signatures
Remove superflous signatures.
diffs (51 lines):
diff --git a/monetdb5/extras/compiler/Tests/mal01.mal
b/monetdb5/extras/compiler/Tests/mal01.mal
--- a/monetdb5/extras/compiler/Tests/mal01.mal
+++ b/monetdb5/extras/compiler/Tests/mal01.mal
@@ -1,12 +1,12 @@
include mal_compiler;
function tst903();
- b:= bat.new(:void,:lng);
- barrier (go,i):= language.newRange(0:lng);
+ b:= bat.new(:oid,:lng);
+ barrier i:= 0:lng;
k:= mmath.rand();
l:= calc.lng(k);
- bat.insert(b,nil,l);
- redo (go,i):= language.nextElement(1:lng,1000000:lng);
- exit (go,i);
+ bat.append(b,l);
+ redo i:= iterator.next(1:lng,1000000:lng);
+ exit i;
end tst903;
t0:= alarm.usec();
diff --git a/monetdb5/modules/kernel/batmtime.mx
b/monetdb5/modules/kernel/batmtime.mx
--- a/monetdb5/modules/kernel/batmtime.mx
+++ b/monetdb5/modules/kernel/batmtime.mx
@@ -66,26 +66,14 @@ comment "Compare a bat of @1 against a s
@:compareGrp(daytime)@
@:compareGrp(timestamp)@
-command batcalc.isnil(b:bat[:any_1,:date]):bat[:any_1,:bit]
-address MTIMEunaryISNIL
-comment "Unary check for nil over the tail of the bat";
-
command batcalc.isnil(b:bat[:oid,:date]):bat[:oid,:bit]
address MTIMEunaryISNIL
comment "Unary check for nil over the tail of the bat";
-command batcalc.isnil(b:bat[:any_1,:daytime]):bat[:any_1,:bit]
-address MTIMEunaryISNIL
-comment "Unary check for nil over the tail of the bat";
-
command batcalc.isnil(b:bat[:oid,:daytime]):bat[:oid,:bit]
address MTIMEunaryISNIL
comment "Unary check for nil over the tail of the bat";
-command batcalc.isnil(b:bat[:any_1,:timestamp]):bat[:any_1,:bit]
-address MTIMEunaryISNIL
-comment "Unary check for nil over the tail of the bat";
-
command batcalc.isnil(b:bat[:oid,:timestamp]):bat[:oid,:bit]
address MTIMEunaryISNIL
comment "Unary check for nil over the tail of the bat";
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list