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
20f7c3d5
Commit
20f7c3d5
authored
Mar 16, 2019
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress -Wimplicit-fallthrough warnings in new jsonpath code.
Per buildfarm. See commit
41c912ca
for precedent.
parent
f27314ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/backend/utils/adt/jsonpath.c
src/backend/utils/adt/jsonpath.c
+5
-2
No files found.
src/backend/utils/adt/jsonpath.c
View file @
20f7c3d5
...
@@ -330,7 +330,7 @@ flattenJsonPathParseItem(StringInfo buf, JsonPathParseItem *item,
...
@@ -330,7 +330,7 @@ flattenJsonPathParseItem(StringInfo buf, JsonPathParseItem *item,
break
;
break
;
case
jpiFilter
:
case
jpiFilter
:
argNestingLevel
++
;
argNestingLevel
++
;
/*
fall through
*/
/*
FALLTHROUGH
*/
case
jpiIsUnknown
:
case
jpiIsUnknown
:
case
jpiNot
:
case
jpiNot
:
case
jpiPlus
:
case
jpiPlus
:
...
@@ -439,10 +439,13 @@ alignStringInfoInt(StringInfo buf)
...
@@ -439,10 +439,13 @@ alignStringInfoInt(StringInfo buf)
{
{
case
3
:
case
3
:
appendStringInfoCharMacro
(
buf
,
0
);
appendStringInfoCharMacro
(
buf
,
0
);
/* FALLTHROUGH */
case
2
:
case
2
:
appendStringInfoCharMacro
(
buf
,
0
);
appendStringInfoCharMacro
(
buf
,
0
);
/* FALLTHROUGH */
case
1
:
case
1
:
appendStringInfoCharMacro
(
buf
,
0
);
appendStringInfoCharMacro
(
buf
,
0
);
/* FALLTHROUGH */
default:
default:
break
;
break
;
}
}
...
@@ -849,7 +852,7 @@ jspInitByBuffer(JsonPathItem *v, char *base, int32 pos)
...
@@ -849,7 +852,7 @@ jspInitByBuffer(JsonPathItem *v, char *base, int32 pos)
case
jpiString
:
case
jpiString
:
case
jpiVariable
:
case
jpiVariable
:
read_int32
(
v
->
content
.
value
.
datalen
,
base
,
pos
);
read_int32
(
v
->
content
.
value
.
datalen
,
base
,
pos
);
/*
follow next
*/
/*
FALLTHROUGH
*/
case
jpiNumeric
:
case
jpiNumeric
:
case
jpiBool
:
case
jpiBool
:
v
->
content
.
value
.
data
=
base
+
pos
;
v
->
content
.
value
.
data
=
base
+
pos
;
...
...
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