proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR,5,"query rule %d has set cache_ttl: %d. Query will%s hit the cache\n",qr->rule_id,qr->cache_ttl,(qr->cache_ttl==0?" NOT":""));
ret->cache_ttl=qr->cache_ttl;
}
if(qr->log>=0){
// Note: negative log means this rule doesn't change
proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR,5,"query rule %d has set log: %d. Query will%s logged\n",qr->rule_id,qr->log,(qr->log==0?" NOT":""));
ret->log=qr->log;
}
if(qr->destination_hostgroup>=0){
// Note: negative hostgroup means this rule doesn't change
proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR,5,"query rule %d has set destination hostgroup: %d\n",qr->rule_id,qr->destination_hostgroup);