Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.6
-
None
Description
The SQL error plugin prints (null) as database if the mariadb client is not using any database to execute the SQL. I think it should print an empty string if the client is not using any database
MariaDB [(none)]> drop database db; |
ERROR 1008 (HY000): Can't drop database 'db'; database doesn't exist |
MariaDB [(none)]>
|
|
$ cat data/sql_errors.log
|
5 (null) 2023-11-29 5:53:31 root[root] @ localhost [] ERROR 1008: Can't drop database 'db'; database doesn't exist : drop database db |
$
|
Attachments
Issue Links
- is caused by
-
MDEV-27087 Add thread ID and database / table, where the error occured to SQL error plugin
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is caused by |
Fix Version/s | 11.4 [ 29301 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Rucha Deodhar [ rucha174 ] | Oleksandr Byelkin [ sanja ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Rucha Deodhar [ rucha174 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.6.17 [ 29518 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 11.4 [ 29301 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.11.7 [ 29519 ] | |
Fix Version/s | 11.0.5 [ 29520 ] | |
Fix Version/s | 11.1.4 [ 29024 ] | |
Fix Version/s | 11.2.3 [ 29521 ] |