Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2294
Modified Files:
Tag: SQL_2-22
sql_mvc.mx
Log Message:
fixed bug [ 1907858 ] declaration of the second table in the function body
cased columns sometimes have no schema defined (declared tables). So we
cannot reuse the schema from it.
Index: sql_mvc.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_mvc.mx,v
retrieving revision 1.195.2.1
retrieving revision 1.195.2.2
diff -u -d -r1.195.2.1 -r1.195.2.2
--- sql_mvc.mx 22 Feb 2008 08:18:00 -0000 1.195.2.1
+++ sql_mvc.mx 6 Mar 2008 21:30:47 -0000 1.195.2.2
@@ -745,7 +745,8 @@
if (!tr)
return NULL;
- if (m->last && strcmp(m->last->t->s->base.name, sname) == 0)
+ if (m->last && m->last->t->s &&
+ strcmp(m->last->t->s->base.name, sname) == 0)
s = m->last->t->s;
else
s = find_sql_schema(tr, sname);
-------------------------------------------------------------------------
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-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins