Update of /cvsroot/monetdb/sql/src/server
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6628/src/server

Modified Files:
        rel_bin.mx 
Log Message:
make code more safe


Index: rel_bin.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_bin.mx,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- rel_bin.mx  29 Nov 2009 10:32:51 -0000      1.102
+++ rel_bin.mx  29 Nov 2009 15:57:03 -0000      1.103
@@ -3554,7 +3554,7 @@
                rel = p->l;
        s = subrel_bin( sql, rel, refs);
 
-       if (p != rel) {
+       if (s && p != rel) {
                node *n = p->exps->h;
                char *tsep = _strdup(E_ATOM_STRING(n->data));
                char *rsep = _strdup(E_ATOM_STRING(n->next->data));


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to