Changeset: 0c0b958824d2 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0c0b958824d2 Modified Files: sql/server/sql_parser.y Branch: Jan2014 Log Message:
revert parser changes for IN predicates as the implementation is missing. diffs (35 lines): diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y --- a/sql/server/sql_parser.y +++ b/sql/server/sql_parser.y @@ -311,7 +311,6 @@ int yydebug=1; column_ref atom_commalist value_commalist - pred_exp_list row_commalist qname qfunc @@ -3285,23 +3284,6 @@ in_predicate: append_symbol(l, $1); append_list(l, $4); $$ = _symbol_create_list(SQL_IN, l ); } - | '(' pred_exp_list ')' NOT sqlIN '(' value_commalist ')' - { dlist *l = L(); - append_list(l, $2); - append_list(l, $7); - $$ = _symbol_create_list(SQL_NOT_IN, l ); } - | '(' pred_exp_list ')' sqlIN '(' value_commalist ')' - { dlist *l = L(); - append_list(l, $2); - append_list(l, $6); - $$ = _symbol_create_list(SQL_IN, l ); } - ; - -pred_exp_list: - pred_exp - { $$ = append_symbol( L(), $1);} - | pred_exp_list ',' pred_exp - { $$ = append_symbol( $1, $3); } ; all_or_any_predicate: _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list