Skip to content
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
Closed
@theodesp

Description

@theodesp

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions