From a5208f62b7212add3cafa3f5ad804cadfc61438c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Fri, 14 May 2021 10:03:52 +0200 Subject: [PATCH] Fixed parameters for 'process_mysql_query' call during 'STMT_EXECUTE' #3427 --- lib/MySQL_Session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index 6bbebe526..92a743255 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]++; }