Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27383
Modified Files:
Tag: SQL_2-22
sql_parser.mx
Log Message:
When a function returns a table and such table is created with a select
statement, the order by option should also be allowed...
Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.271.2.2
retrieving revision 1.271.2.3
diff -u -d -r1.271.2.2 -r1.271.2.3
--- sql_parser.mx 19 Feb 2008 15:57:21 -0000 1.271.2.2
+++ sql_parser.mx 5 Mar 2008 09:03:26 -0000 1.271.2.3
@@ -1940,7 +1940,7 @@
return_value:
select_no_parens_orderby
| search_condition
- | TABLE '(' select_no_parens ')'
+ | TABLE '(' select_no_parens_orderby ')'
{ $$ = _symbol_create_symbol(SQL_TABLE, $3); }
| sqlNULL { $$ = _newAtomNode( NULL); }
;
-------------------------------------------------------------------------
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