1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
Prathamesh Hukkeri 95fc70c357 MDEV-39307: Fix %f in audit plugin timestamp rendering zero microseconds
The server_audit_timestamp_format %f specifier always rendered zero
microseconds. The server downcast the precise time to seconds before
passing it to audit plugins, and the plugin then re-fetched the time
itself at write time.

Pass the server's high-resolution time through the audit API instead:
- extend mysql_event_general with general_time_microseconds (added in
  MYSQL_AUDIT_INTERFACE_VERSION 0x0304), keeping general_time in
  seconds for backward compatibility
- the server_audit plugin uses event->general_time_microseconds for
  query log entries instead of re-fetching the time at write time

Connection and table events carry no timestamp in the audit API, so the
plugin keeps taking the time at event time for those entries.
2026-09-29 15:33:22 +03:00
..
2026-05-26 21:15:58 +02:00
2026-07-06 13:44:56 +02:00
2024-12-02 17:51:17 +02:00
2025-08-03 15:01:09 +02:00
2026-07-20 13:23:00 +03:00
2024-05-27 12:39:02 +02:00
2026-01-31 14:08:54 +01:00
2026-08-19 11:28:01 +02:00
2026-09-04 12:21:02 +02:00
2025-04-22 16:26:36 -04:00
2026-07-20 13:23:00 +03:00
2025-04-18 17:11:01 +02:00
2026-08-20 08:27:14 +02:00