mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Misc
This commit is contained in:
parent
bf776df9ee
commit
ed7baa5dc2
@ -162,10 +162,10 @@ Firebird::Vector<void*, MAP_CACHE_SIZE> extents_cache;
|
||||
Mutex cache_mutex;
|
||||
|
||||
// avoid races during initialization
|
||||
size_t map_page_size = 0;
|
||||
|
||||
inline size_t get_map_page_size()
|
||||
{
|
||||
static size_t map_page_size = 0;
|
||||
|
||||
if (! map_page_size)
|
||||
{
|
||||
map_page_size = get_page_size();
|
||||
|
Loading…
Reference in New Issue
Block a user