diff --git a/include/PgSQL_Query_Processor.h b/include/PgSQL_Query_Processor.h index 1387abf4b..352b86e5a 100644 --- a/include/PgSQL_Query_Processor.h +++ b/include/PgSQL_Query_Processor.h @@ -31,8 +31,8 @@ public: static PgSQL_Query_Processor_Rule_t* new_query_rule(int rule_id, bool active, const char* username, const char* schemaname, int flagIN, const char* client_addr, const char* proxy_addr, int proxy_port, const char* digest, const char* match_digest, const char* match_pattern, bool negate_match_pattern, const char* re_modifiers, int flagOUT, const char* replace_pattern, int destination_hostgroup, int cache_ttl, int cache_empty_result, - int cache_timeout, int reconnect, int timeout, int retries, int delay, int next_query_flagIN, int mirror_hostgroup, - int mirror_flagOUT, const char* error_msg, const char* OK_msg, int sticky_conn, int multiplex, int log, + int cache_timeout, int reconnect, int timeout, int retries, int delay, int next_query_flagIN, int mirror_flagOUT, + int mirror_hostgroup, const char* error_msg, const char* OK_msg, int sticky_conn, int multiplex, int log, bool apply, const char* attributes, const char* comment); private: diff --git a/lib/PgSQL_Query_Processor.cpp b/lib/PgSQL_Query_Processor.cpp index 046c21fb9..e5beeae2c 100644 --- a/lib/PgSQL_Query_Processor.cpp +++ b/lib/PgSQL_Query_Processor.cpp @@ -317,8 +317,8 @@ PgSQL_Query_Processor_Output* PgSQL_Query_Processor::process_query(PgSQL_Session PgSQL_Query_Processor_Rule_t* PgSQL_Query_Processor::new_query_rule(int rule_id, bool active, const char* username, const char* schemaname, int flagIN, const char* client_addr, const char* proxy_addr, int proxy_port, const char* digest, const char* match_digest, const char* match_pattern, bool negate_match_pattern, const char* re_modifiers, int flagOUT, const char* replace_pattern, int destination_hostgroup, int cache_ttl, int cache_empty_result, - int cache_timeout, int reconnect, int timeout, int retries, int delay, int next_query_flagIN, int mirror_hostgroup, - int mirror_flagOUT, const char* error_msg, const char* OK_msg, int sticky_conn, int multiplex, int log, + int cache_timeout, int reconnect, int timeout, int retries, int delay, int next_query_flagIN, int mirror_flagOUT, + int mirror_hostgroup, const char* error_msg, const char* OK_msg, int sticky_conn, int multiplex, int log, bool apply, const char* attributes, const char* comment) { PgSQL_Query_Processor_Rule_t* newQR = (PgSQL_Query_Processor_Rule_t*)malloc(sizeof(PgSQL_Query_Processor_Rule_t));