Details
-
New Feature
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
Description
For debug purposes, it will useful, if threadID and database/ table name (if available) will be added to the SQL ERROR Plugin log entries.
Error messages should also be extended so that the database and table name is present for errors related to tables.
To enable this feature, on has to also do
sql_error_log_with_db_and_thread_info=1
See https://mariadb.com/kb/en/sql-error-log-system-variables-and-options/#sql_error_log_with_db_and_thread_info
Attachments
Issue Links
- causes
-
MDEV-32906 The SQL error plugin prints (null) as database if the mariadb client is not using any database to execute the SQL.
- Closed
- is duplicated by
-
MDEV-27129 SQL Error Log plug-in lacks Connection ID
- Closed
-
MDEV-32632 Add more fields to the SQL Error plugin
- Closed