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.
Showing
Please register or sign in to comment