File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.84 2001/02/23 18:28:46 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.85 2001/02/23 20:12:37 tgl Exp $
12
12
*
13
13
* NOTES
14
14
* Outside modules can create a lock table and acquire/release
@@ -1410,8 +1410,8 @@ LockShmemSize(int maxBackends)
1410
1410
int size = 0 ;
1411
1411
1412
1412
size += MAXALIGN (sizeof (PROC_HDR )); /* ProcGlobal */
1413
- size += MAXALIGN ( maxBackends * sizeof (PROC )); /* each MyProc */
1414
- size += MAXALIGN ( MAX_LOCK_METHODS * sizeof (LOCKMETHODCTL )); /* each lockMethodTable->ctl */
1413
+ size += maxBackends * MAXALIGN ( sizeof (PROC )); /* each MyProc */
1414
+ size += MAX_LOCK_METHODS * MAXALIGN ( sizeof (LOCKMETHODCTL )); /* each lockMethodTable->ctl */
1415
1415
1416
1416
/* lockHash table */
1417
1417
size += hash_estimate_size (NLOCKENTS (maxBackends ),
You can’t perform that action at this time.
0 commit comments