Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21630

Modified Files:
        sql.mx 
Log Message:
new return syntax


U sql.mx
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -d -r1.275 -r1.276
--- sql.mx      12 Aug 2008 09:56:38 -0000      1.275
+++ sql.mx      18 Aug 2008 08:48:33 -0000      1.276
@@ -240,7 +240,7 @@
        v := algebra.markH(e, 0:oid);
        bat.insert(b, "name", r);
        bat.insert(b, "value", v);
-       return b;
+       return sql_environment := b;
 end sql_environment;
 
 function clients():bat[:str,:bat];
@@ -255,7 +255,7 @@
        bat.insert(b,"actions",a);
        t:= clients.getTime();
        bat.insert(b,"seconds",t);
-       return b;
+       return clients := b;
 end clients;
 
 function bbp():bat[:str,:bat];
@@ -296,7 +296,7 @@
        ikind := bbp.getKind();
        kind := algebra.markH(ikind, 0:oid);
        bat.insert(b, "kind", kind);
-       return b;
+       return bbp := b;
 end bbp;
 
 pattern sql_variables():bat[:str,:bat]
@@ -606,13 +606,13 @@
        msg := str.+("zero_or_one: cardinality violation (", ms);
        msg := str.+(msg, ">1)");
        sql.assert(c1, msg);
-       return b;
+       return zero_or_one := b;
 end sql.zero_or_one;
 
 
 function mmath.rand{inline}( v:int ) :int;
        x := mmath.rand();
-       return x;
+       return rand := x;
 end mmath.rand;
 
 @mal


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to