Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
69b3383c
Commit
69b3383c
authored
Dec 04, 2008
by
Teodor Sigaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize GISTScanOpaque->qual_ok even if there is no conditions.
parent
754e6833
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/backend/access/gist/gistscan.c
src/backend/access/gist/gistscan.c
+3
-2
No files found.
src/backend/access/gist/gistscan.c
View file @
69b3383c
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.7
3 2008/10/20 13:39:44
teodor Exp $
* $PostgreSQL: pgsql/src/backend/access/gist/gistscan.c,v 1.7
4 2008/12/04 11:08:46
teodor Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -76,6 +76,8 @@ gistrescan(PG_FUNCTION_ARGS)
ItemPointerSetInvalid
(
&
so
->
curpos
);
so
->
nPageData
=
so
->
curPageData
=
0
;
so
->
qual_ok
=
true
;
/* Update scan key, if a new one is given */
if
(
key
&&
scan
->
numberOfKeys
>
0
)
{
...
...
@@ -92,7 +94,6 @@ gistrescan(PG_FUNCTION_ARGS)
* Next, if any of keys is a NULL and that key is not marked with
* SK_SEARCHNULL then nothing can be found.
*/
so
->
qual_ok
=
true
;
for
(
i
=
0
;
i
<
scan
->
numberOfKeys
;
i
++
)
{
scan
->
keyData
[
i
].
sk_func
=
so
->
giststate
->
consistentFn
[
scan
->
keyData
[
i
].
sk_attno
-
1
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment