Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6512/src/server

Modified Files:
      Tag: May2009
        rel_select.mx 
Log Message:
fix crash with select * from 'whatever' = bla 



U rel_select.mx
Index: rel_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_select.mx,v
retrieving revision 1.143.2.4
retrieving revision 1.143.2.5
diff -u -d -r1.143.2.4 -r1.143.2.5
--- rel_select.mx       13 Jul 2009 13:27:37 -0000      1.143.2.4
+++ rel_select.mx       31 Jul 2009 06:21:10 -0000      1.143.2.5
@@ -4048,7 +4048,8 @@
 {
        dnode *n = selection->h;
 
-       (void) where;
+       if (!selection)
+               return sql_error(sql, 02, "SELECT: the selection or from part 
is missing");
        if (where) {
                sql_rel *r = rel_logical_exp(sql, rel, where, sql_where);
                if (!r)


------------------------------------------------------------------------------
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