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: b9a0724)
Silence compiler warning
2019年6月14日 15:33:40 +0000 (11:33 -0400)
2019年6月14日 15:33:40 +0000 (11:33 -0400)
Introduced in de87a084c0a5.


diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index a7757607ebeb91f6b0fdae07bfe8becf1b76dabd..fa86efed2e8612e76b3030f47f97e8bade2c969a 100644 (file)
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -4038,7 +4038,7 @@ l3:
uint16 infomask;
uint16 infomask2;
bool require_sleep;
- bool skip_tuple_lock;
+ bool skip_tuple_lock = false;
ItemPointerData t_ctid;
/* must copy state data before unlocking buffer */
@@ -4064,7 +4064,6 @@ l3:
if (first_time)
{
first_time = false;
- skip_tuple_lock = false;
if (infomask & HEAP_XMAX_IS_MULTI)
{
This is the main PostgreSQL git repository.
RSS Atom

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