MXS-1278: Add 'sql_mode' configuration parameter

Using the 'sql_mode' configuration parameter, the initial sql mode
can be specified.
This commit is contained in:
Johan Wikman
2017-06-05 13:51:15 +03:00
parent a690b44919
commit 83f8010c4b
4 changed files with 48 additions and 31 deletions

View File

@ -23,6 +23,7 @@
#include <sys/utsname.h>
#include <maxscale/modinfo.h>
#include <maxscale/query_classifier.h>
MXS_BEGIN_DECLS
@ -74,6 +75,7 @@ typedef struct
bool skip_permission_checks; /**< Skip service and monitor permission checks */
char qc_name[PATH_MAX]; /**< The name of the query classifier to load */
char* qc_args; /**< Arguments for the query classifier */
qc_sql_mode_t qc_sql_mode; /**< The query classifier sql mode */
} MXS_CONFIG;
/**