MXS-1474 Set correct default and fix typo
This commit is contained in:
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",
|
"selects",
|
||||||
parameter_selects_values));
|
parameter_selects_values));
|
||||||
config.cache_in_trxs = static_cast<cache_in_trxs_t>(config_get_enum(ppParams,
|
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));
|
parameter_cache_in_trxs_values));
|
||||||
|
|
||||||
if (!config.storage)
|
if (!config.storage)
|
||||||
|
2
server/modules/filter/cache/cachefilter.h
vendored
2
server/modules/filter/cache/cachefilter.h
vendored
@ -59,7 +59,7 @@
|
|||||||
// Storage
|
// Storage
|
||||||
#define CACHE_DEFAULT_STORAGE "storage_inmemory"
|
#define CACHE_DEFAULT_STORAGE "storage_inmemory"
|
||||||
// Transaction behaviour
|
// Transaction behaviour
|
||||||
#define CACHE_DEFAULT_CACHE_IN_TRXS "read_only_transactions"
|
#define CACHE_DEFAULT_CACHE_IN_TRXS "all_transactions"
|
||||||
|
|
||||||
typedef enum cache_selects
|
typedef enum cache_selects
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user