Commit 59cea2e1 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-6258 MariaDB 10.0 performance schema timestamps relative to epoch

don't use the interval timer when absolute time values are needed
parent 414e8388
select distinct first_seen < DATE'2000-01-01', last_seen < DATE'2000-01-01' from performance_schema.events_statements_summary_by_digest;
first_seen < DATE'2000-01-01' last_seen < DATE'2000-01-01'
0 0
--source include/not_embedded.inc
#
# MDEV-6258 MariaDB 10.0 performance schema timestamps relative to epoch
#
select distinct first_seen < DATE'2000-01-01', last_seen < DATE'2000-01-01' from performance_schema.events_statements_summary_by_digest;
......@@ -207,7 +207,7 @@ find_or_create_digest(PFS_thread *thread,
PFS_statements_digest_stat **entry;
PFS_statements_digest_stat *pfs= NULL;
ulonglong now= microsecond_interval_timer();
ulonglong now= my_hrtime().val;
search:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment