Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
974757f1
Commit
974757f1
authored
26 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Add a set of braces to clarify conditional nesting.
gcc complained about ambiguities.
parent
6240aa0f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/access/nbtree/nbtcompare.c
+3
-1
3 additions, 1 deletion
src/backend/access/nbtree/nbtcompare.c
with
3 additions
and
1 deletion
src/backend/access/nbtree/nbtcompare.c
+
3
−
1
View file @
974757f1
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.
19
199
8/0
9/01
04
:2
6
:59
momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.
20
1999/01
/20 16
:2
4
:59
thomas
Exp $
*
*
* NOTES
* NOTES
* These functions are stored in pg_amproc. For each operator class
* These functions are stored in pg_amproc. For each operator class
...
@@ -92,10 +92,12 @@ btoid8cmp(Oid *a, Oid *b)
...
@@ -92,10 +92,12 @@ btoid8cmp(Oid *a, Oid *b)
for
(
i
=
0
;
i
<
8
;
i
++
)
for
(
i
=
0
;
i
<
8
;
i
++
)
/* we use this because we need the int4gt, etc */
/* we use this because we need the int4gt, etc */
if
(
!
int4eq
(
a
[
i
],
b
[
i
]))
if
(
!
int4eq
(
a
[
i
],
b
[
i
]))
{
if
(
int4gt
(
a
[
i
],
b
[
i
]))
if
(
int4gt
(
a
[
i
],
b
[
i
]))
return
1
;
return
1
;
else
else
return
-
1
;
return
-
1
;
}
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment