File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.73 2008/10/20 13:39:44 teodor Exp $
11
+ * $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.74 2008/12/04 11:08:46 teodor Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -76,6 +76,8 @@ gistrescan(PG_FUNCTION_ARGS)
76
76
ItemPointerSetInvalid (& so -> curpos );
77
77
so -> nPageData = so -> curPageData = 0 ;
78
78
79
+ so -> qual_ok = true;
80
+
79
81
/* Update scan key, if a new one is given */
80
82
if (key && scan -> numberOfKeys > 0 )
81
83
{
@@ -92,7 +94,6 @@ gistrescan(PG_FUNCTION_ARGS)
92
94
* Next, if any of keys is a NULL and that key is not marked with
93
95
* SK_SEARCHNULL then nothing can be found.
94
96
*/
95
- so -> qual_ok = true;
96
97
for (i = 0 ; i < scan -> numberOfKeys ; i ++ ) {
97
98
scan -> keyData [i ].sk_func = so -> giststate -> consistentFn [scan -> keyData [i ].sk_attno - 1 ];
98
99
You can’t perform that action at this time.
0 commit comments