projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee01f70
)
Fix minor typo in comment
author
Simon Riggs
<simon@2ndQuadrant.com>
Tue, 18 Apr 2017 10:57:11 +0000
(11:57 +0100)
committer
Simon Riggs
<simon@2ndQuadrant.com>
Tue, 18 Apr 2017 10:57:11 +0000
(11:57 +0100)
Reported-by: Amit Langote
src/backend/catalog/partition.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/partition.c
b/src/backend/catalog/partition.c
index ab891f6ef205ce346cdb1d8f9a0c7f6576b90a06..e0d2665a91b5f653d65dc8bebcf085f678123b58 100644
(file)
--- a/
src/backend/catalog/partition.c
+++ b/
src/backend/catalog/partition.c
@@
-549,7
+549,7
@@
RelationBuildPartitionDesc(Relation rel)
{
int orig_index = rbounds[i]->index;
- /* If the old index
is
has no mapping, assign one */
+ /* If the old index has no mapping, assign one */
if (mapping[orig_index] == -1)
mapping[orig_index] = next_index++;