OSDN Git Service

*** empty log message ***
authorMichael Meskes <meskes@postgresql.org>
Fri, 29 Oct 1999 19:39:31 +0000 (19:39 +0000)
committerMichael Meskes <meskes@postgresql.org>
Fri, 29 Oct 1999 19:39:31 +0000 (19:39 +0000)
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/preproc.y

index 83c40f9..99c28a7 100644 (file)
@@ -694,3 +694,9 @@ Wed Oct 27 18:08:09 CEST 1999
 
        - Synced preproc.y with gram.y.
        - Set ecpg version to 2.6.8
+
+Fri Oct 29 21:36:25 CEST 1999
+
+       - Fixed bug that caused ecpg to not allow FOR UPDATE.
+       - Set ecpg version to 2.6.9
+
index 713ccfe..bbf33db 100644 (file)
@@ -3,7 +3,7 @@ include $(SRCDIR)/Makefile.global
 
 MAJOR_VERSION=2
 MINOR_VERSION=6
-PATCHLEVEL=8
+PATCHLEVEL=9
 
 CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
        -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
index 788e37c..49bc9d7 100644 (file)
@@ -2792,9 +2792,9 @@ SubSelect:     SELECT opt_unique target_list
                          result from_clause where_clause
                          group_clause having_clause
                                {
-                                       $$ = cat4_str(cat5_str(make1_str("select"), $2, $3, $4, $5), $6, $7, $8);
                                        if (strlen($7) > 0 || strlen($8) > 0)
                                                ForUpdateNotAllowed = 1;
+                                       $$ = cat4_str(cat5_str(make1_str("select"), $2, $3, $4, $5), $6, $7, $8);
                                }
                ;