@ -199,6 +201,10 @@ class Query_Processor_Output {
free(OK_msg);
OK_msg=NULL;
}
if(min_gtid){
free(min_gtid);
min_gtid=NULL;
}
if(comment){// #643
free(comment);
}
@ -305,7 +311,7 @@ class Query_Processor {
~Query_Processor();
voidprint_version();
voidreset_all(boollock=true);
voidwrlock();// explicit write lock, to be used in multi-isert
voidwrlock();// explicit write lock, to be used in multi-insert
voidwrunlock();// explicit write unlock
boolinsert(QP_rule_t*qr,boollock=true);// insert a new rule. Uses a generic void pointer to a structure that may vary depending from the Query Processor
QP_rule_t*new_query_rule(intrule_id,boolactive,char*username,char*schemaname,intflagIN,char*client_addr,char*proxy_addr,intproxy_port,char*digest,char*match_digest,char*match_pattern,boolnegate_match_pattern,char*re_modifiers,intflagOUT,char*replace_pattern,intdestination_hostgroup,intcache_ttl,intcache_empty_result,intcache_timeout,intreconnect,inttimeout,intretries,intdelay,intnext_query_flagIN,intmirror_hostgroup,intmirror_flagOUT,char*error_msg,char*OK_msg,intsticky_conn,intmultiplex,intgtid_from_hostgroup,intlog,boolapply,char*comment);// to use a generic query rule struct, this is generated by this function and returned as generic void pointer
@ -319,7 +325,7 @@ class Query_Processor {
voidend_thread();
voidcommit();// this applies all the changes in memory