forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd03d754
committed
Use macros instead of hardcoded offsets for LWLock initialization
This makes the code slightly easier to follow, as the initializationrelies on an offset that overlapped with an equivalent set of macrosdefined, which are used in other places already.Author: Japin LiDiscussion:https://postgr.es/m/MEYP282MB1669FB410006758402F2C3A2B6E00@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM1 parent789b938 commitd03d754
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
525 | 525 |
| |
526 | 526 |
| |
527 | 527 |
| |
528 |
| - | |
| 528 | + | |
529 | 529 |
| |
530 | 530 |
| |
531 | 531 |
| |
532 | 532 |
| |
533 |
| - | |
| 533 | + | |
534 | 534 |
| |
535 | 535 |
| |
536 | 536 |
| |
537 | 537 |
| |
538 |
| - | |
539 |
| - | |
| 538 | + | |
540 | 539 |
| |
541 | 540 |
| |
542 | 541 |
| |
|
0 commit comments
Comments
(0)