fix build rowkey_doc joined table redundantly
This commit is contained in:
@ -400,7 +400,7 @@ END_P SET_VAR DELIMITER
|
||||
%type <node> explain_stmt explainable_stmt format_name kill_stmt help_stmt create_outline_stmt alter_outline_stmt drop_outline_stmt opt_outline_target
|
||||
%type <node> expr_list expr expr_const conf_const simple_expr expr_or_default bit_expr bool_pri predicate explain_or_desc pl_expr_stmt
|
||||
%type <node> column_ref multi_delete_table
|
||||
%type <node> case_expr func_expr in_expr sub_query_flag
|
||||
%type <node> case_expr func_expr in_expr sub_query_flag search_expr
|
||||
%type <node> case_arg when_clause_list when_clause case_default
|
||||
%type <node> window_function opt_partition_by generalized_window_clause win_rows_or_range win_preceding_or_following win_interval win_bounding win_window opt_win_window win_fun_lead_lag_params respect_or_ignore opt_respect_or_ignore_nulls win_fun_first_last_params first_or_last opt_from_first_or_last new_generalized_window_clause new_generalized_window_clause_with_blanket opt_named_windows named_windows named_window
|
||||
%type <node> win_dist_list win_dist_desc
|
||||
@ -1669,7 +1669,7 @@ simple_expr collation %prec NEG
|
||||
}
|
||||
malloc_non_terminal_node($$, result->malloc_pool_, T_OP_EXISTS, 1, $2);
|
||||
}
|
||||
| MATCH '(' column_list ')' AGAINST '(' expr_const opt_mode_flag ')'
|
||||
| MATCH '(' column_list ')' AGAINST '(' search_expr opt_mode_flag ')'
|
||||
{
|
||||
ParseNode *column_list_node = NULL;
|
||||
merge_nodes(column_list_node, result, T_MATCH_COLUMN_LIST, $3);
|
||||
@ -1739,6 +1739,17 @@ simple_expr collation %prec NEG
|
||||
}
|
||||
;
|
||||
|
||||
search_expr:
|
||||
expr_const
|
||||
{
|
||||
$$ = $1;
|
||||
}
|
||||
| func_expr
|
||||
{
|
||||
$$ = $1;
|
||||
};
|
||||
|
||||
|
||||
opt_mode_flag:
|
||||
IN NATURAL LANGUAGE MODE
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user