Skip to content
Snippets Groups Projects
Commit e76bcaba authored by Robert Haas's avatar Robert Haas
Browse files

Repair breakage in VirtualXactLock.

I broke this in commit 84e37126.  Report and
fix by Fujii Masao.
parent 5b9102ce
No related branches found
No related tags found
No related merge requests found
...@@ -3675,6 +3675,8 @@ VirtualXactLock(VirtualTransactionId vxid, bool wait) ...@@ -3675,6 +3675,8 @@ VirtualXactLock(VirtualTransactionId vxid, bool wait)
* it's no longer running anywhere. * it's no longer running anywhere.
*/ */
proc = BackendIdGetProc(vxid.backendId); proc = BackendIdGetProc(vxid.backendId);
if (proc == NULL)
return true;
/* /*
* We must acquire this lock before checking the backendId and lxid * We must acquire this lock before checking the backendId and lxid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment