Added description of new rwsplit variables, read_ses_variables_from_slaves and write_ses_variables_to_all to Configuration document.
Added description of new rwsplit variables, read_ses_variables_from_slaves and write_ses_variables_to_all to MaxScale_template.cnf readwritesplit.h:Set default values for write_ses_variables_to_all=true, and read_ses_variables_from_slaves=false
This commit is contained in:
Binary file not shown.
@ -51,7 +51,9 @@ passwd=maxpwd
|
|||||||
# enable_root_user=<0 or 1, default is 0>
|
# enable_root_user=<0 or 1, default is 0>
|
||||||
# version_string=<specific string for server handshake,
|
# version_string=<specific string for server handshake,
|
||||||
# default is the MariaDB embedded library version>
|
# default is the MariaDB embedded library version>
|
||||||
#
|
#
|
||||||
|
# read_ses_variables_from_slaves=<Y|N> Default is Yes
|
||||||
|
# write_ses_variables_to_all=<Y|(N)> Default is No
|
||||||
# router_options=<option[=value]>,<option[=value]>,...
|
# router_options=<option[=value]>,<option[=value]>,...
|
||||||
# where value=[master|slave|synced]
|
# where value=[master|slave|synced]
|
||||||
#
|
#
|
||||||
|
@ -119,7 +119,7 @@ typedef enum select_criteria {
|
|||||||
#define CONFIG_MAX_SLAVE_CONN 1
|
#define CONFIG_MAX_SLAVE_CONN 1
|
||||||
#define CONFIG_MAX_SLAVE_RLAG -1 /*< not used */
|
#define CONFIG_MAX_SLAVE_RLAG -1 /*< not used */
|
||||||
#define CONFIG_READ_SESVARS_FROM_SLAVES false
|
#define CONFIG_READ_SESVARS_FROM_SLAVES false
|
||||||
#define CONFIG_WRITE_SESVARS_TO_ALL false
|
#define CONFIG_WRITE_SESVARS_TO_ALL true
|
||||||
|
|
||||||
#define GET_SELECT_CRITERIA(s) \
|
#define GET_SELECT_CRITERIA(s) \
|
||||||
(strncmp(s,"LEAST_GLOBAL_CONNECTIONS", strlen("LEAST_GLOBAL_CONNECTIONS")) == 0 ? \
|
(strncmp(s,"LEAST_GLOBAL_CONNECTIONS", strlen("LEAST_GLOBAL_CONNECTIONS")) == 0 ? \
|
||||||
|
Reference in New Issue
Block a user