The name of this function could be improved as it is currently misleading.
For example, I took a DBLock in MODE_IX and 'wasGlobalLockTakenForWrite()' returned true, and I thought to myself that I never took a GlobalLock in MODE_X.
The name of this function could be improved as it is currently misleading.
For example, I took a DBLock in MODE_IX and 'wasGlobalLockTakenForWrite()' returned true, and I thought to myself that I never took a GlobalLock in MODE_X.