Fixed parameters for 'process_mysql_query' call during 'STMT_EXECUTE' #3427

pull/3453/head
Javier Jaramago Fernández 5 years ago
parent 5493ddf159
commit a5208f62b7

@ -3122,7 +3122,7 @@ void MySQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_C
if (thread->variables.stats_time_query_processor) {
clock_gettime(CLOCK_THREAD_CPUTIME_ID,&begint);
}
qpo=GloQPro->process_mysql_query(this,pkt.ptr,pkt.size,&CurrentQuery);
qpo=GloQPro->process_mysql_query(this,NULL,0,&CurrentQuery);
if (qpo->max_lag_ms >= 0) {
thread->status_variables.stvar[st_var_queries_with_max_lag_ms]++;
}

Loading…
Cancel
Save