From b46e5b528103f204224bfe007f3d2ffe3513a8a1 Mon Sep 17 00:00:00 2001
From: "Vadim B. Mikheev" <vadim4o@yahoo.com>
Date: Tue, 3 Jun 1997 06:29:31 +0000
Subject: [PATCH] SET geqo TO 'on' restores _use_geqo_rels_ to GEQO_RELS, not
 to last specified with 'on' #. What is better ?

---
 src/backend/tcop/variable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/tcop/variable.c b/src/backend/tcop/variable.c
index b3d3edf2aee..4f00968dc2c 100644
--- a/src/backend/tcop/variable.c
+++ b/src/backend/tcop/variable.c
@@ -2,7 +2,7 @@
  * Routines for handling of 'SET var TO', 'SHOW var' and 'RESET var'
  * statements.
  *
- * $Id: variable.c,v 1.10 1997/06/02 11:00:57 vadim Exp $
+ * $Id: variable.c,v 1.11 1997/06/03 06:29:31 vadim Exp $
  *
  */
 
@@ -151,7 +151,7 @@ static bool parse_geqo (const char *value)
 
     if ( strcasecmp (tok, "on") == 0 )
     {
-    	int32 geqo_rels = _use_geqo_rels_;
+    	int32 geqo_rels = GEQO_RELS;
     	
     	if ( val != NULL )
     	{
-- 
GitLab