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

Commit03caf76

Browse files
author
Michael Meskes
committed
Fixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int);
1 parenta922472 commit03caf76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.267 2003/12/17 15:23:45 meskes Exp $*/
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.268 2003/12/24 22:04:09 meskes Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -3017,7 +3017,7 @@ table_ref:relation_expr
30173017
|func_tableAS'('TableFuncElementList')'
30183018
{$$=cat_str(4,$1, make_str("as ("),$4, make_str(")")); }
30193019
|func_tableASColId'('TableFuncElementList')'
3020-
{$$=cat_str(6,$1, make_str("as"),$3, make_str("("),$5, make_str(")"));}
3020+
{$$=cat_str(6,$1, make_str("as"),$3, make_str("("),$5, make_str(")"));}
30213021
|func_tableColId'('TableFuncElementList')'
30223022
{$$=cat_str(5,$1,$2, make_str("("),$4, make_str(")")); }
30233023
|select_with_parens
@@ -3120,7 +3120,7 @@ where_clause: WHERE a_expr{ $$ = cat2_str(make_str("where"), $2); }
31203120
TableFuncElementList:TableFuncElement
31213121
{$$ =$1; }
31223122
|TableFuncElementList','TableFuncElement
3123-
{$$ = cat_str(3,$1,',',$3); }
3123+
{$$ = cat_str(3,$1,make_str(","),$3); }
31243124
;
31253125

31263126
TableFuncElement:ColIdTypename{$$ = cat2_str($1,$2); }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp