Fixed typo which made use_sql_variables_in paramter ineffective.
This commit is contained in:
@ -233,9 +233,7 @@ typedef struct rwsplit_config_st {
|
||||
int rw_max_slave_conn_count;
|
||||
select_criteria_t rw_slave_select_criteria;
|
||||
int rw_max_slave_replication_lag;
|
||||
target_t rw_use_sql_variables_in;
|
||||
bool rw_read_sesvars_from_slaves;
|
||||
|
||||
target_t rw_use_sql_variables_in;
|
||||
} rwsplit_config_t;
|
||||
|
||||
|
||||
|
||||
@ -683,7 +683,7 @@ createInstance(SERVICE *service, char **options)
|
||||
router->rwsplit_version = service->svc_config_version;
|
||||
/** Set default values */
|
||||
router->rwsplit_config.rw_use_sql_variables_in = CONFIG_SQL_VARIABLES_IN;
|
||||
param = config_get_param(service->svc_config_param, "use_sql_variable_in");
|
||||
param = config_get_param(service->svc_config_param, "use_sql_variables_in");
|
||||
|
||||
if (param != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user