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

Modified Files:
        sql_schema.mx 
Log Message:
propagated changes of Sunday Aug 16 2009 - Monday Aug 17 2009
from the Aug2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/08/16 - nielsnes: src/server/sql_schema.mx,1.177.2.2
approved output

disallow explain with alter

made sure we allways group by on bats
(fixes bug 2837561)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_schema.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_schema.mx,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -d -r1.178 -r1.179
--- sql_schema.mx       12 Aug 2009 17:40:48 -0000      1.178
+++ sql_schema.mx       17 Aug 2009 10:54:11 -0000      1.179
@@ -2008,7 +2008,7 @@
        stmt *ret = NULL;
 
        /* TODO everything should be done via the backend language */ 
-       if (!QUERY_MODE(sql->emode) && s->token != SQL_ALTER_TABLE)
+       if (!QUERY_MODE(sql->emode))
                return sql_error(sql, 05, "schema statements are directly 
executed "
                                "and therefore cannot be debugged, explained, 
profiled, "
                                "traced or used in a prepared statement");


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to