8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00
This commit is contained in:
alexpeshkoff 2007-04-05 12:35:39 +00:00
parent bf776df9ee
commit ed7baa5dc2

View File

@ -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();