Changeset: 0efd1c3c463d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0efd1c3c463d
Modified Files:
sql/server/sql_parser.y
Branch: default
Log Message:
fixed parser, ie removed useless nonterminal
diffs (27 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
@@ -2153,8 +2153,7 @@ column_constraint_type:
append_int(l, $4 );
append_int(l, $5 );
$$ = _symbol_create_list( SQL_FOREIGN_KEY, l); }
- /*TODO: Implement domain_constraint_type*/
- | CHECK '(' search_condition ')' { $$ = _symbol_create_symbol(SQL_CHECK,
$3); }
+ | CHECK '(' search_condition ')' { $$ = _symbol_create_symbol(SQL_CHECK,
$3); }
;
table_constraint_type:
@@ -2175,11 +2174,8 @@ table_constraint_type:
append_int(l, $7 );
append_int(l, $8 );
$$ = _symbol_create_list( SQL_FOREIGN_KEY, l); }
- /*TODO: Implement domain_constraint_type*/
- | CHECK '(' search_condition ')' { $$ = _symbol_create_symbol(SQL_CHECK,
$3); }
- ;
-
-domain_constraint_type:
+ | CHECK '(' search_condition ')'
+ { $$ = _symbol_create_symbol(SQL_CHECK, $3); }
;
ident_commalist:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]