MXS-1474 Set correct default and fix typo

This commit is contained in:
Johan Wikman
2017-10-31 15:09:54 +02:00
parent f52a0acbbe
commit 18bfc515e2
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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
{ {