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

Modified Files:
        sql_select.mx 
Log Message:
fixed bug in column references, fixes invalid_qualified_column_name.SF-2183288


U sql_select.mx
Index: sql_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_select.mx,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- sql_select.mx       10 Oct 2008 09:00:54 -0000      1.247
+++ sql_select.mx       21 Oct 2008 12:48:16 -0000      1.248
@@ -365,7 +365,7 @@
 
                if (!(cs = scope_bind(scp, tname, cname))) {
                        tvar *tv = scope_bind_table(scp, tname);
-                       if (tv && strcmp(cname, "OID")) {
+                       if (tv && strcmp(cname, "OID") == 0) {
                                cvar *cv = tv->columns->h->data;
                                cs = stmt_mirror(stmt_dup(cv->s));
                        } else {


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to