Fix problems with CURRENT_DATE and related functions being used in
table defaults or rules: translate them to a function call so that parse_coerce doesn't reduce them to a date or time constant immediately. Also, eliminate a lot of redundancy in the expression grammar by defining a new nonterminal com_expr, which contains all the productions that can be shared by a_expr and b_expr.
Showing
This diff is collapsed.
Please register or sign in to comment