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

Commitfd1afb7

Browse files
committed
Fix silly typo causing SELECT INTO TABLE to sometimes be
treated as SELECT INTO TEMP TABLE.
1 parenta553760 commitfd1afb7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

‎src/backend/parser/gram.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
*
241241
*
242242
* IDENTIFICATION
243-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.67 1999/02/02 20:30:07 momjian Exp $
243+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.68 1999/02/06 20:28:11 tgl Exp $
244244
*
245245
* HISTORY
246246
* AUTHORDATEMAJOR EVENT
@@ -4801,7 +4801,7 @@ static const short yycheck[] = { 3,
48014801
215
48024802
};
48034803
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
4804-
#line 3 "/usr/local/bison/bison.simple"
4804+
#line 3 "/usr/local/share/bison.simple"
48054805

48064806
/* Skeleton output parser for bison,
48074807
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
@@ -4994,7 +4994,7 @@ __yy_memcpy (char *to, char *from, int count)
49944994
#endif
49954995
#endif
49964996

4997-
#line 196 "/usr/local/bison/bison.simple"
4997+
#line 196 "/usr/local/share/bison.simple"
49984998

49994999
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
50005000
into yyparse. The argument should have type void *.
@@ -8017,8 +8017,8 @@ case 478:
80178017
* feature. If it makes troubles we will have to add
80188018
* a new rule and change this to prevent INTOs in
80198019
* Subselects again */
8020-
n->istemp= (bool)((A_Const*)lfirst(yyvsp[-4].list))->val.val.ival;
8021-
n->into= (char*)lnext(yyvsp[-4].list);
8020+
n->istemp= (bool) ((Value*)lfirst(yyvsp[-4].list))->val.ival;
8021+
n->into= (char*)lnext(yyvsp[-4].list);
80228022

80238023
n->fromClause=yyvsp[-3].list;
80248024
n->whereClause=yyvsp[-2].node;
@@ -11109,7 +11109,7 @@ case 962:
1110911109
break;}
1111011110
}
1111111111
/* the action file gets copied in in place of this dollarsign */
11112-
#line 498 "/usr/local/bison/bison.simple"
11112+
#line 498 "/usr/local/share/bison.simple"
1111311113

1111411114
yyvsp-=yylen;
1111511115
yyssp-=yylen;

‎src/backend/parser/gram.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.51 1999/02/02 19:20:54 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.52 1999/02/0620:27:34 tgl Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -2869,8 +2869,8 @@ SubSelect:SELECT opt_unique res_target_list2
28692869
* feature. If it makes troubles we will have to add
28702870
* a new rule and change this to prevent INTOs in
28712871
* Subselects again */
2872-
n->istemp = (bool)((A_Const *)lfirst($4))->val.val.ival;
2873-
n->into = (char *)lnext($4);
2872+
n->istemp = (bool) ((Value *)lfirst($4))->val.ival;
2873+
n->into = (char *)lnext($4);
28742874

28752875
n->fromClause = $5;
28762876
n->whereClause = $6;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp