mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Fix user locks. Broken some time ago for all platforms by Windows-related
changes.
This commit is contained in:
parent
51d7e25651
commit
337b513e07
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/lock.c,v 1.135 2004/07/17 03:28:51 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/storage/lmgr/lock.c,v 1.136 2004/08/26 17:23:30 tgl Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* Outside modules can create a lock table and acquire/release
|
* Outside modules can create a lock table and acquire/release
|
||||||
@ -337,6 +337,9 @@ LockMethodTableRename(LOCKMETHODID lockmethodid)
|
|||||||
NumLockMethods++;
|
NumLockMethods++;
|
||||||
|
|
||||||
LockMethods[newLockMethodId] = LockMethods[lockmethodid];
|
LockMethods[newLockMethodId] = LockMethods[lockmethodid];
|
||||||
|
LockMethodLockHash[newLockMethodId] = LockMethodLockHash[lockmethodid];
|
||||||
|
LockMethodProcLockHash[newLockMethodId] = LockMethodProcLockHash[lockmethodid];
|
||||||
|
|
||||||
return newLockMethodId;
|
return newLockMethodId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user