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

Modified Files:
        rel_select.mx 
Log Message:
propagated changes of Monday Feb 02 2009 - Tuesday Feb 03 2009
from the Feb2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/02/02 - nielsnes: src/server/rel_select.mx,1.113.2.2
be more protective when looking at sql stack variables
(ie don't intepret simple values as tables)
Solves bug select * from history)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: rel_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_select.mx,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- rel_select.mx       31 Jan 2009 13:16:59 -0000      1.114
+++ rel_select.mx       3 Feb 2009 09:33:49 -0000       1.115
@@ -1237,7 +1237,8 @@
                }
                if (!t && !sname) {
                        sql_subtype *tpe;
-                       if ((tpe = stack_find_type(sql, tname)) != NULL) {
+                       if ((tpe = stack_find_type(sql, tname)) != NULL &&
+                               tpe->comp_type) {
                                temp_table = stack_find_rel_var(sql, tname);
                                t = tpe->comp_type;
                        } else {


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to