File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
src/interfaces/ecpg/preproc Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1877,16 +1877,19 @@ Iresult: Iconst { $$ = $1; }
18771877 ;
18781878
18791879execute_rest: /* EMPTY */ { $$ = EMPTY; }
1880- | ecpg_using ecpg_into { $$ = EMPTY; }
1880+ | ecpg_using opt_ecpg_into { $$ = EMPTY; }
18811881 | ecpg_into ecpg_using { $$ = EMPTY; }
1882- | ecpg_using { $$ = EMPTY; }
18831882 | ecpg_into { $$ = EMPTY; }
18841883 ;
18851884
18861885ecpg_into: INTO into_list { $$ = EMPTY; }
18871886 | into_descriptor { $$ = $1; }
18881887 ;
18891888
1889+ opt_ecpg_into: /* EMPTY */ { $$ = EMPTY; }
1890+ | ecpg_into { $$ = $1; }
1891+ ;
1892+
18901893ecpg_fetch_into: ecpg_into { $$ = $1; }
18911894 | using_descriptor
18921895 {
Original file line number Diff line number Diff line change 7878%type <str> opt_bit_field
7979%type <str> opt_connection_name
8080%type <str> opt_database_name
81+ %type <str> opt_ecpg_into
8182%type <str> opt_ecpg_fetch_into
8283%type <str> opt_ecpg_using
8384%type <str> opt_initializer
Original file line number Diff line number Diff line change 9898 ' VariableShowStmtSHOWSESSIONAUTHORIZATION' =>
9999 ' SHOW SESSION AUTHORIZATION ecpg_into' ,
100100 ' returning_clauseRETURNINGtarget_list' =>
101- ' RETURNING target_list ecpg_into ' ,
101+ ' RETURNING target_list opt_ecpg_into ' ,
102102 ' ExecuteStmtEXECUTEnameexecute_param_clause' =>
103103 ' EXECUTE prepared_name execute_param_clause execute_rest' ,
104104' ExecuteStmtCREATEOptTempTABLEcreate_as_targetASEXECUTEnameexecute_param_clause'
You can’t perform that action at this time.
0 commit comments