Fix LOCK_DEBUG in LWLock acquiring
Commit ea9df812 relaxes the requirement that all LWLocks are in a single array, which broke the LOCK_DEBUG code for trying to acquiring an LWLock. This is a meatball surgery attempt at making it at least compile and run, without trying to reinvent the old usecase. Minor tweaking of the code is also done to make LOCK_DEBUG cases be identified identically. Backported from master 3a1ced8f Reported-by: Simon Gao in Github issue #7251 Reviewed-by: Ashwin Agrawal
Showing
想要评论请 注册 或 登录