git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7011649)
Remove redundant not-null test
2019年12月18日 01:37:22 +0000 (20:37 -0500)
2019年12月18日 01:37:22 +0000 (20:37 -0500)
Reported-by: Ranier Vilela
Discussion: https://postgr.es/m/MN2PR18MB2927E73FADCA8967B2302469E3490@MN2PR18MB2927.namprd18.prod.outlook.com

Author: Ranier Vilela

Backpatch-through: master


diff --git a/src/backend/executor/execExpr.c b/src/backend/executor/execExpr.c
index 7e486449eca303bbf70985d350a7f0489a5893fa..8da2e2dcbba30d26fd5cc1af270cc6ad3027cc28 100644 (file)
--- a/src/backend/executor/execExpr.c
+++ b/src/backend/executor/execExpr.c
@@ -2434,7 +2434,7 @@ ExecComputeSlotInfo(ExprState *state, ExprEvalStep *op)
{
desc = parent->scandesc;
- if (parent && parent->scanops)
+ if (parent->scanops)
tts_ops = parent->scanops;
if (parent->scanopsset)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /