projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370155d
)
Add missing else.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 27 Jul 2012 16:36:07 +0000
(16:36 +0000)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 27 Jul 2012 16:36:07 +0000
(16:36 +0000)
contrib/hashtest/hashtest.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/hashtest/hashtest.c
b/contrib/hashtest/hashtest.c
index 655b2a123d82e8dc3897a7859e74e81813ce802e..d15c76abafffaf9f547690f7ec0d38485ea245e2 100644
(file)
--- a/
contrib/hashtest/hashtest.c
+++ b/
contrib/hashtest/hashtest.c
@@
-194,7
+194,7
@@
chash_concurrent_test(PG_FUNCTION_ARGS)
ok = CHashSearch(chash, &e);
if (!ok)
elog(LOG, "search %u: not found", i);
- if (e.val != MyProcPid)
+
else
if (e.val != MyProcPid)
elog(LOG, "search %u: expected %u found %u", i, (unsigned) MyProcPid, e.val);
}