Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27422
Modified Files:
Tag: Nov2009
sql_parser.mx
Log Message:
PLAN violates the communication protocol because it doesn't send a header (it
doesn't know how many rows will follow), so disable it. This is a pity,
because PLAN is pretty useful.
Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.322.2.2
retrieving revision 1.322.2.3
diff -u -d -r1.322.2.2 -r1.322.2.3
--- sql_parser.mx 27 Oct 2009 12:48:56 -0000 1.322.2.2
+++ sql_parser.mx 27 Oct 2009 14:04:36 -0000 1.322.2.3
@@ -746,6 +746,10 @@
m->sym = $$ = $3; YYACCEPT;
}
| SQL_PLAN { mvc *m = (mvc*)parm;
+ if (m->scanner.mode == LINE_1) {
+ yyerror("PLAN is only available in mclient due
to protocol restrictions");
+ YYABORT;
+ }
m->emode = m_plan;
m->scanner.as = m->scanner.yycur;
m->scanner.key = 0;
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins