mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Grammar.
This commit is contained in:
parent
2cd03f9cab
commit
cc46e2cdac
@ -231,7 +231,7 @@
|
||||
#DatabaseGrowthIncrement = 134217728
|
||||
|
||||
# ----------------------------
|
||||
# File system cache treshold
|
||||
# File system cache threshold
|
||||
#
|
||||
# The threshold value that determines whether Firebird will use file system
|
||||
# cache or not. File system caching is used if database cache size in pages
|
||||
@ -244,7 +244,7 @@
|
||||
#
|
||||
# Type: integer, measured in database pages
|
||||
#
|
||||
#FileSystemCacheTreshold = 65536
|
||||
#FileSystemCacheThreshold = 65536
|
||||
|
||||
# ----------------------------
|
||||
# File system cache size
|
||||
|
@ -118,7 +118,7 @@ const ConfigImpl::ConfigEntry ConfigImpl::entries[] =
|
||||
{TYPE_BOOLEAN, "OldColumnNaming", (ConfigValue) false}, // if true use old style concatenation
|
||||
{TYPE_STRING, "Authentication", (ConfigValue) AmNative}, // use native, trusted or mixed
|
||||
{TYPE_INTEGER, "DatabaseGrowthIncrement", (ConfigValue) 128 * 1048576}, // bytes
|
||||
{TYPE_INTEGER, "FileSystemCacheTreshold", (ConfigValue) 65536}, // page buffers
|
||||
{TYPE_INTEGER, "FileSystemCacheThreshold", (ConfigValue) 65536}, // page buffers
|
||||
{TYPE_BOOLEAN, "RelaxedAliasChecking", (ConfigValue) false}, // if true relax strict alias checking rules in DSQL a bit
|
||||
{TYPE_BOOLEAN, "OldSetClauseSemantics", (ConfigValue) false}, // if true disallow SET A = B, B = A to exchange column values
|
||||
{TYPE_STRING, "AuditTraceConfigFile", (ConfigValue) ""}, // location of audit trace configuration file
|
||||
@ -482,9 +482,9 @@ int Config::getDatabaseGrowthIncrement()
|
||||
return (int) sysConfig().values[KEY_DATABASE_GROWTH_INCREMENT];
|
||||
}
|
||||
|
||||
int Config::getFileSystemCacheTreshold()
|
||||
int Config::getFileSystemCacheThreshold()
|
||||
{
|
||||
return (int) sysConfig().values[KEY_FILESYSTEM_CACHE_TRESHOLD];
|
||||
return (int) sysConfig().values[KEY_FILESYSTEM_CACHE_THRESHOLD];
|
||||
}
|
||||
|
||||
bool Config::getRelaxedAliasChecking()
|
||||
|
@ -113,7 +113,7 @@ class Config
|
||||
KEY_OLD_COLUMN_NAMING, // 38
|
||||
KEY_AUTH_METHOD, // 39
|
||||
KEY_DATABASE_GROWTH_INCREMENT, // 40
|
||||
KEY_FILESYSTEM_CACHE_TRESHOLD, // 41
|
||||
KEY_FILESYSTEM_CACHE_THRESHOLD, // 41
|
||||
KEY_RELAXED_ALIAS_CHECKING, // 42
|
||||
KEY_OLD_SET_CLAUSE_SEMANTICS, // 43
|
||||
KEY_TRACE_CONFIG, // 44
|
||||
@ -257,7 +257,7 @@ public:
|
||||
|
||||
static int getDatabaseGrowthIncrement();
|
||||
|
||||
static int getFileSystemCacheTreshold();
|
||||
static int getFileSystemCacheThreshold();
|
||||
|
||||
static int getFileSystemCacheSize();
|
||||
|
||||
|
@ -1312,7 +1312,7 @@ void PAG_header(thread_db* tdbb, bool info)
|
||||
Arg::Str(attachment->att_filename));
|
||||
}
|
||||
|
||||
const bool useFSCache = dbb->dbb_bcb->bcb_count < Config::getFileSystemCacheTreshold();
|
||||
const bool useFSCache = dbb->dbb_bcb->bcb_count < Config::getFileSystemCacheThreshold();
|
||||
|
||||
if ((header->hdr_flags & hdr_force_write) || !useFSCache)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user