Update of /cvsroot/monetdb/sql/src/backends/monet4
In directory sc8-pr-cvs16:/tmp/cvs-serv24540/src/backends/monet4

Modified Files:
        sql_gencode.mx 
Log Message:
added use of any type (only internal)
the any type is needed to have a single function definition for
al functions which all types need.



Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_gencode.mx,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- sql_gencode.mx      20 Apr 2007 20:37:32 -0000      1.151
+++ sql_gencode.mx      26 Apr 2007 14:35:06 -0000      1.152
@@ -749,7 +749,7 @@
 
                        /* external types have sqlname convert functions,
                           these can generate errors (fromstr cannot) */
-                       if (s->op4.typeval.type->eclass == EC_ANY)
+                       if (s->op4.typeval.type->eclass == EC_EXTERNAL)
                                convert = s->op4.typeval.type->sqlname;
                
                        if (s->op4.typeval.type->localtype ==


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to