tanss: complete sync + db_audit: DB audit log viewer/export #7
Loading…
Reference in a new issue
No description provided.
Delete branch "hermes/odoo-dev:feature/tanss-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two workstreams:
1. TANSS integration (finished)
password=Trueremoval2. db_audit (new module)
Verification
Live testing against MariaDB 10.11 revealed the import only worked for the MySQL-8 column layout the mocks assumed. Fixes: - general_log columns differ (MariaDB: event_time/user_host/argument; MySQL 8: +schema/query_id/sql_text) -> DESCRIBE + map available columns - slow log table is slow_log on MariaDB, slow_query_log on MySQL 8 -> probe both via _mysql_slow_table (SELECT COUNT) - timestamp(6) microseconds broke Datetime.to_datetime -> _normalize_ts - duration: MariaDB time(6) 'H:MM:SS.ffffff' strings -> _mysql_duration - incremental cursor: query_id (MySQL 8) -> timestamp cursor + content fingerprint dedup (works on both, no monotonic id needed) - probe: read mysql.general_log/slow_log (not {db}.*), try slow_log+slow_query_log Tests: 13 -> 17 (added MariaDB 10.11 schema suite + duration parsing). Local 106/106 green; verified live against MariaDB 10.11 and PostgreSQL 18.6.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.