diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index 6bbebe5262..92a7432554 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -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]++; }