[MDEV-14581] Server does not clear diagnostics between sessions Created: 2017-12-05  Updated: 2018-10-05  Resolved: 2018-03-12

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients, Server
Affects Version/s: 10.2
Fix Version/s: 10.2.14, 10.3.6

Type: Bug Priority: Critical
Reporter: Alexander Barkov Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Sprint: 10.2.14

 Description   

In the "mysql" client, I run this query to force a warning:

SELECT TIME('10:10:10.11111111111');

Now I exit the session, start "mysql" again, and run this query:

SHOW WARNINGS;

It returns the warnings from the previous session:

+-------+------+--------------------------------------------------------+
| Level | Code | Message                                                |
+-------+------+--------------------------------------------------------+
| Note  | 1292 | Truncated incorrect time value: '10:10:10.11111111111' |
+-------+------+--------------------------------------------------------+



 Comments   
Comment by Elena Stepanova [ 2017-12-11 ]

I'm raising the priority because it looks like a security issue to me – the previous warnings are shown even to a different user.

Generated at Thu Feb 08 08:14:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.