Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd5e3b2

Browse files
committed
1 parent07f386e commitfd5e3b2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/pl/plpgsql/src/pl_gram.y

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ staticvoid check_labels(const char *start_label,
107107
constchar *end_label,
108108
int end_location);
109109
staticPLpgSQL_expr*read_cursor_args(PLpgSQL_var *cursor,
110-
int until,constchar *expected);
110+
int until);
111111
staticList*read_raise_options(void);
112112
staticvoidcheck_raise_parameters(PLpgSQL_stmt_raise *stmt);
113113

@@ -1414,8 +1414,7 @@ for_control: for_variable K_IN
14141414

14151415
/* collect cursor's parameters if any*/
14161416
new->argquery =read_cursor_args(cursor,
1417-
K_LOOP,
1418-
"LOOP");
1417+
K_LOOP);
14191418

14201419
/* create loop's private RECORD variable*/
14211420
new->var = (PLpgSQL_variable *)
@@ -2129,7 +2128,7 @@ stmt_open: K_OPEN cursor_variable
21292128
else
21302129
{
21312130
/* predefined cursor query, so read args*/
2132-
new->argquery =read_cursor_args($2,';',";");
2131+
new->argquery =read_cursor_args($2,';');
21332132
}
21342133

21352134
$$ = (PLpgSQL_stmt *)new;
@@ -3773,7 +3772,7 @@ check_labels(const char *start_label, const char *end_label, int end_location)
37733772
* parens).
37743773
*/
37753774
static PLpgSQL_expr *
3776-
read_cursor_args(PLpgSQL_var *cursor, int until, const char *expected)
3775+
read_cursor_args(PLpgSQL_var *cursor, int until)
37773776
{
37783777
PLpgSQL_expr *expr;
37793778
PLpgSQL_row *row;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp