27 Sep
2022
27 Sep
'22
12:18 a.m.
Hi, Oleksandr, On Sep 26, Oleksandr Byelkin wrote:
+ timestamp.second_part= trigger->ms_create_time % 1000000;
hrtime_to_time() and hrtime_sec_part()
they made for events, so I made hr_time_to_time, hr_time_from_time
What do you mean by "made for events" ?
It request val field from passed object (I mean the macro), and I am not sure if rewriting that macro a good idea.
it works with my_hrtime_t values, so if you store high-resolution time values in my_hrtime_t than these macros will work :) Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org