Details
-
Type:
Task
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Incomplete
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
If i issue:
MariaDB [(none)]> SELECT @@x; -- comment
ERROR 1193 (HY000): Unknown system variable 'x'
The log says:
2013-07-09 15:51:17 root[root] @ localhost [127.0.0.1] ERROR 1193: Unknown system variable 'x' : SELECT @@x
However, the entries would be more easy to search if comments were logged.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
That's not possible to do for your example, because mysql command line client strips comments before sending a query to the server. Try a client that doesn't, I believe you should see comments in the log.