Changeset: 48316349bd7a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=48316349bd7a
Removed Files:
        monetdb5/mal/Tests/tst236.mal
        monetdb5/mal/Tests/tst236.stable.err
        monetdb5/mal/Tests/tst236.stable.out
Modified Files:
        monetdb5/mal/Tests/All
Branch: default
Log Message:

BAT of BATs are outphased


diffs (130 lines):

diff --git a/monetdb5/mal/Tests/All b/monetdb5/mal/Tests/All
--- a/monetdb5/mal/Tests/All
+++ b/monetdb5/mal/Tests/All
@@ -119,7 +119,6 @@ tst232
 tst233
 tst234
 tst235
-tst236
 tst240
 tst250
 tst2500
diff --git a/monetdb5/mal/Tests/tst236.mal b/monetdb5/mal/Tests/tst236.mal
deleted file mode 100644
--- a/monetdb5/mal/Tests/tst236.mal
+++ /dev/null
@@ -1,20 +0,0 @@
-# check reference counting and multiplex
-function dir():void;
-       d:= bbp.getRefCount();
-       dl:=bbp.getLRefCount();
-       dn:= bbp.getNames();
-       ds:= algebra.sort(dn);
-       io.table(ds,d,dl);
-end dir;
-
-function createBAT(name:str):bat;
-       res:= bat.new(:int,:int);
-       bat.setName(res,name);
-       i:= calc.getBATidentifier(res);
-       return i;
-end createBAT;
-m:= bat.new(:oid,:str);
-bat.insert(m,10:oid,"ten");
-bat.insert(m,20:oid,"twenty");
-r:bat[:oid,:bat]:= mal.multiplex("user","createBAT",m);
-io.print(r);
diff --git a/monetdb5/mal/Tests/tst236.stable.err 
b/monetdb5/mal/Tests/tst236.stable.err
deleted file mode 100644
--- a/monetdb5/mal/Tests/tst236.stable.err
+++ /dev/null
@@ -1,12 +0,0 @@
-stderr of test 'tst236` in directory 'mal` itself:
-
-
-# 20:38:43 >  
-# 20:38:43 >  Mtimeout -timeout 60 mserver5 
"--config=/ufs/mk/monet5/Linux/etc/MonetDB5.conf" --debug=10 --set 
"monet_mod_path=/ufs/mk/monet5/Linux/lib/MonetDB5:/ufs/mk/opensource/MonetDB/Linux/lib/MonetDB"
 --set "gdk_dbfarm=/ufs/mk/monet5/Linux/var/MonetDB5/dbfarm" --set 
"sql_logdir=/ufs/mk/monet5/Linux/var/MonetDB5/dblogs" --set mapi_port=36290 
--set monet_prompt= --trace --dbname=mTests_src_mal  tst236.mal < /dev/null
-# 20:38:43 >  
-
-
-# 20:38:43 >  
-# 20:38:43 >  Done.
-# 20:38:43 >  
-
diff --git a/monetdb5/mal/Tests/tst236.stable.out 
b/monetdb5/mal/Tests/tst236.stable.out
deleted file mode 100644
--- a/monetdb5/mal/Tests/tst236.stable.out
+++ /dev/null
@@ -1,72 +0,0 @@
-stdout of test 'tst236` in directory 'mal` itself:
-
-
-# 13:59:36 >  
-# 13:59:36 >  Mtimeout -timeout 60 mserver5 
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set 
"monet_mod_path=/ufs/mk/monet5/Linux/lib64/MonetDB5:/ufs/mk/monet5/Linux/lib64/MonetDB5/lib:/ufs/mk/monet5/Linux/lib64/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/mk/monet5/Linux/var/MonetDB5/dbfarm" --set 
"sql_logdir=/ufs/mk/monet5/Linux/var/MonetDB5/sql_logs" --set 
"xquery_logdir=/ufs/mk/monet5/Linux/var/MonetDB5/xquery_logs" --set 
mapi_port=37951 --set monet_prompt= --trace --dbname=mTests_src_mal  tst236.mal 
< /dev/null
-# 13:59:36 >  
-
-# MonetDB Server v4.99.19
-# Copyright (c) 1993-2006 CWI, all rights reserved
-# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked
-# dbname:mTests_src_mal
-# Visit http://monetdb.cwi.nl/ for further information
-## check reference counting and multiplex
-#function dir():void;
-#        d:= bbp.getRefCount();
-#        dl:=bbp.getLRefCount();
-#        dn:= bbp.getNames();
-#        io.print(dn,d,dl);
-#end dir;
-function user.dir():void;
-    d := bbp.getRefCount();
-    dl := bbp.getLRefCount();
-    dn := bbp.getNames();
-    ds := algebra.sort(dn);
-    io.table(ds,d,dl);
-end dir;
-#
-#function createBAT(name:str):bat;
-#      res:= bat.new(:int,:int);
-#      bat.setName(res,name);
-#      i:= calc.getBATidentifier(res);
-#      return i;
-#end createBAT;
-function user.createBAT(name:str):BAT;
-    res := bat.new(:int,:int);
-    bat.setName(res,name);
-    i := calc.getBATidentifier(res);
-    return createBAT := i;
-end createBAT;
-#m:= bat.new(:oid,:str);
-#bat.insert(m,10:oid,"ten");
-#bat.insert(m,20:oid,"twenty");
-#dir();
-#r:bat[:oid,:bat]:= optimizer.multiplex("user","createBAT",m);
-#dir();
-#io.print(r);
-#
-function user.main():void;
-# check reference counting and multiplex 
-    m := bat.new(:oid,:str);
-    bat.insert(m,10@0:oid,"ten");
-    bat.insert(m,20@0:oid,"twenty");
-    X_15 := bat.new(nil:oid,nil:BAT);
-barrier (X_19,X_20,X_21) := bat.newIterator(m);
-    X_23 := user.createBAT(X_21);
-    bat.insert(X_15,X_20,X_23);
-    redo (X_19,X_20,X_21) := bat.hasMoreElements(m);
-exit (X_19,X_20,X_21);
-    r:bat[:oid,:BAT]  := X_15;
-    io.print(r);
-end main;
-#-------------------------#
-# h    t                 # name
-# oid  BAT               # type
-#-------------------------#
-[ 10@0,          <ten>           ]
-[ 20@0,          <twenty>        ]
-
-# 13:59:36 >  
-# 13:59:36 >  Done.
-# 13:59:36 >  
-
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to