Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc538dfe

Browse files
author
Alexander Korotkov
committed
Fix #endif location for PPC-optimized LWLockAttemptLock.
1 parent410aa2d commitc538dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/lmgr/lwlock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,8 @@ LWLockAttemptLock(LWLock *lock, LWLockMode mode)
890890
pg_unreachable();
891891
}
892892

893+
#endif
894+
893895
/*
894896
* Lock the LWLock's wait list against concurrent activity.
895897
*
@@ -960,8 +962,6 @@ LWLockWaitListUnlock(LWLock *lock)
960962
Assert(old_state&LW_FLAG_LOCKED);
961963
}
962964

963-
#endif
964-
965965
/*
966966
* Wakeup all the lockers that currently have a chance to acquire the lock.
967967
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp