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 secur...@mariadb.org

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to