]> granicus.if.org Git - postgresql/commitdiff
Fix silly typo causing SELECT INTO TABLE to sometimes be
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 6 Feb 1999 20:28:11 +0000 (20:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 6 Feb 1999 20:28:11 +0000 (20:28 +0000)
treated as SELECT INTO TEMP TABLE.

src/backend/parser/gram.c
src/backend/parser/gram.y

index 2081b741f9e772de40db4fe075ffa772ed94869e..6a033b2e9fe84f6b84a79cf043827b6977fa4e43 100644 (file)
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.67 1999/02/02 20:30:07 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.68 1999/02/06 20:28:11 tgl Exp $
  *
  * HISTORY
  *       AUTHOR                        DATE                    MAJOR EVENT
@@ -4801,7 +4801,7 @@ static const short yycheck[] = {     3,
    215
 };
 /* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
-#line 3 "/usr/local/bison/bison.simple"
+#line 3 "/usr/local/share/bison.simple"
 
 /* Skeleton output parser for bison,
    Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
@@ -4994,7 +4994,7 @@ __yy_memcpy (char *to, char *from, int count)
 #endif
 #endif
 \f
-#line 196 "/usr/local/bison/bison.simple"
+#line 196 "/usr/local/share/bison.simple"
 
 /* The user can define YYPARSE_PARAM as the name of an argument to be passed
    into yyparse.  The argument should have type void *.
@@ -8017,8 +8017,8 @@ case 478:
                                         * feature. If it makes troubles we will have to add 
                                         * a new rule and change this to prevent INTOs in 
                                         * Subselects again */
-                                       n->istemp = (bool)((A_Const *)lfirst(yyvsp[-4].list))->val.val.ival;
-                                       n->into = (char *)lnext(yyvsp[-4].list);
+                                       n->istemp = (bool) ((Value *) lfirst(yyvsp[-4].list))->val.ival;
+                                       n->into = (char *) lnext(yyvsp[-4].list);
 
                                        n->fromClause = yyvsp[-3].list;
                                        n->whereClause = yyvsp[-2].node;
@@ -11109,7 +11109,7 @@ case 962:
     break;}
 }
    /* the action file gets copied in in place of this dollarsign */
-#line 498 "/usr/local/bison/bison.simple"
+#line 498 "/usr/local/share/bison.simple"
 \f
   yyvsp -= yylen;
   yyssp -= yylen;
index 75ebaf8628651b238bb23c566fdf936a292ab8f2..b29f76420faf28e38baa7324ca7d1de491ee5f35 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.51 1999/02/02 19:20:54 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.52 1999/02/06 20:27:34 tgl Exp $
  *
  * HISTORY
  *       AUTHOR                        DATE                    MAJOR EVENT
@@ -2869,8 +2869,8 @@ SubSelect:        SELECT opt_unique res_target_list2
                                         * feature. If it makes troubles we will have to add 
                                         * a new rule and change this to prevent INTOs in 
                                         * Subselects again */
-                                       n->istemp = (bool)((A_Const *)lfirst($4))->val.val.ival;
-                                       n->into = (char *)lnext($4);
+                                       n->istemp = (bool) ((Value *) lfirst($4))->val.ival;
+                                       n->into = (char *) lnext($4);
 
                                        n->fromClause = $5;
                                        n->whereClause = $6;