Skip to content

Commit

Permalink
Fixed parameters for 'process_mysql_query' call during 'STMT_EXECUTE' #…
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierJF committed May 14, 2021
1 parent 5493ddf commit a5208f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MySQL_Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]++;
}
Expand Down

0 comments on commit a5208f6

Please sign in to comment.