This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Implement SHOW WARNINGS; #442
Closed
Description
When invoking certain operations for example:
mysql> select log10(-1);
+-----------+
| log10(-1) |
+-----------+
| NULL |
+-----------+
1 row in set, 1 warning (0.00 sec)
The result contains info about the number of warnings where you can later querry:
mysql> show warnings;
+---------+------+--------------------------------+
| Level | Code | Message |
+---------+------+--------------------------------+
| Warning | 3020 | Invalid argument for logarithm |
+---------+------+--------------------------------+
1 row in set (0.00 sec)
It would be useful to provide that functionality
See:
https://dev.mysql.com/doc/refman/8.0/en/show-warnings.html