8. + ulonglong utime_of_query= thd->current_utime() - thd->utime_after_lock; + if (utime_of_query <= thd->variables.long_query_time) + return;
Please look into the slow_extended.patch:
static inline ulonglong get_query_exec_time(THD *thd, ulonglong cur_utime) ... thd->server_status|= SERVER_QUERY_WAS_SLOW;
Please better use this status variable, instead of calculate query execution time directly.
« Back to merge proposal
8. utime() - thd->utime_ after_lock; long_query_ time)
+ ulonglong utime_of_query= thd->current_
+ if (utime_of_query <= thd->variables.
+ return;
Please look into the slow_extended. patch:
static inline ulonglong get_query_ exec_time( THD *thd, ulonglong cur_utime) status| = SERVER_ QUERY_WAS_ SLOW;
...
thd->server_
Please better use this status variable, instead of calculate query execution time directly.