Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2740/server
Modified Files:
Tag: Feb2009
rel_select.mx
Log Message:
be more protective when looking at sql stack variables
(ie don't intepret simple values as tables)
Solves bug select * from history)
U rel_select.mx
Index: rel_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_select.mx,v
retrieving revision 1.113.2.1
retrieving revision 1.113.2.2
diff -u -d -r1.113.2.1 -r1.113.2.2
--- rel_select.mx 31 Jan 2009 09:22:36 -0000 1.113.2.1
+++ rel_select.mx 2 Feb 2009 20:58:00 -0000 1.113.2.2
@@ -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