Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12513

Modified Files:
        mal_recycle.mx 
Log Message:
Be aware that (u)select comes with different argument sequences


Index: mal_recycle.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_recycle.mx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mal_recycle.mx      9 Mar 2008 10:39:20 -0000       1.18
+++ mal_recycle.mx      9 Mar 2008 11:49:04 -0000       1.19
@@ -315,8 +315,9 @@
 @c
                                if( VALcmp( &s->stk[getArg(p,2)], 
                                                        
&getVar(recycleBlk,getArg(q,2))->value) >=0 &&
-                                       VALcmp( &s->stk[getArg(p,3)], 
-                                                       
&getVar(recycleBlk,getArg(q,3))->value) <=0 ){
+                                       ( p->argc ==2 ||
+                                         VALcmp( &s->stk[getArg(p,3)], 
+                                                       
&getVar(recycleBlk,getArg(q,3))->value) <=0 ) ){
                                        BAT *b1, *b2;
                                        nbid=getVarConstant(recycleBlk, 
getArg(q,0)).val.bval; 
                                        if( bid == -1){


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to