MXS-1474 Set correct default and fix typo
This commit is contained in:
parent
f52a0acbbe
commit
18bfc515e2
2
server/modules/filter/cache/cachefilter.cc
vendored
2
server/modules/filter/cache/cachefilter.cc
vendored
@ -349,7 +349,7 @@ bool CacheFilter::process_params(char **pzOptions, MXS_CONFIG_PARAMETER *ppParam
|
||||
"selects",
|
||||
parameter_selects_values));
|
||||
config.cache_in_trxs = static_cast<cache_in_trxs_t>(config_get_enum(ppParams,
|
||||
"cache_in_transaction",
|
||||
"cache_in_transactions",
|
||||
parameter_cache_in_trxs_values));
|
||||
|
||||
if (!config.storage)
|
||||
|
2
server/modules/filter/cache/cachefilter.h
vendored
2
server/modules/filter/cache/cachefilter.h
vendored
@ -59,7 +59,7 @@
|
||||
// Storage
|
||||
#define CACHE_DEFAULT_STORAGE "storage_inmemory"
|
||||
// Transaction behaviour
|
||||
#define CACHE_DEFAULT_CACHE_IN_TRXS "read_only_transactions"
|
||||
#define CACHE_DEFAULT_CACHE_IN_TRXS "all_transactions"
|
||||
|
||||
typedef enum cache_selects
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user