Added QUERY_TYPE_GLOBAL_WRITE for writes which don't reflect on binary log, but need to be present in every back-end server once executed.

This commit is contained in:
vraatikka
2013-12-11 14:34:01 +02:00
parent f785420cc6
commit 06ebc6f4b5
2 changed files with 18 additions and 4 deletions

View File

@ -33,7 +33,8 @@ typedef enum {
QUERY_TYPE_LOCAL_READ, /*!< Read non-database data, execute in MaxScale */
QUERY_TYPE_READ, /*!< No updates */
QUERY_TYPE_WRITE, /*!< Master data will be modified */
QUERY_TYPE_SESSION_WRITE /*!< Session data will be modified */
QUERY_TYPE_SESSION_WRITE,/*!< Session data will be modified */
QUERY_TYPE_GLOBAL_WRITE /*!< Global system variable modification */
} skygw_query_type_t;