Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: mysqlnd_qc.c
- ===================================================================
- --- mysqlnd_qc.c (revision 324360)
- +++ mysqlnd_qc.c (working copy)
- @@ -552,13 +552,15 @@
- #elif PHP_VERSION_ID < 50400
- MYSQLND_QC_CONNECTION_DATA ** recorded_data_pp = conn_data_pp;
- #endif
- + uint64_t reap_time;
- DBG_ENTER("mysqlnd_qc:reap_query");
- DBG_INF_FMT("conn_id=%u", conn->thread_id);
- - STATS_TIME_SET((*conn_data_pp)->run_time);
- + STATS_TIME_SET(reap_time);
- ret = QC_CALL_ORIGINAL_CONN_DATA_METHOD(reap_query)(conn TSRMLS_CC);
- - STATS_TIME_DIFF2((*conn_data_pp)->run_time, (*conn_data_pp)->prev_start_time);
- + STATS_TIME_DIFF2(reap_time, (*conn_data_pp)->prev_start_time);
- + (*conn_data_pp)->run_time += reap_time;
- MYSQLND_QC_INC_STATISTIC_W_VALUE(QC_STAT_QUERY_AGGR_RUN_TIME_TOTAL, (*conn_data_pp)->prev_start_time);
Add Comment
Please, Sign In to add comment