1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-02 14:47:37 +03:00
Files
mariadb/mysql-test/suite/plugins/t/sql_error_log_withdbinfo.opt
Rucha Deodhar ee7cc0a466 MDEV-32906: The SQL error plugin prints (null) as database if the mariadb
client is not using any database to execute the SQL.

Analysis:
When there is no database, the database string is NULL so (null) gets
printed.
Fix:
Print NULL instead of (null) because when there is no database SELECT
DATABASE() return NULL. SO NULL is more appropriate choice.
2024-01-23 13:39:22 +05:30

2 lines
102 B
Plaintext

--plugin-load-add=$SQL_ERRLOG_SO --sql-error-log-with-db-and-thread-info=1 --lower_case_table_names=2