[MDEV-5946] Redundant warnings in LEFT(string,string) Created: 2014-03-25  Updated: 2022-09-08

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.3.12, 5.5.36, 10.0.9
Fix Version/s: 5.5

Type: Bug Priority: Minor
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None


 Description   

mysql>  select left('a','ca'); show warnings;
+----------------+
| left('a','ca') |
+----------------+
|                |
+----------------+
1 row in set, 2 warnings (0.00 sec)
 
+---------+------+-----------------------------------------+
| Level   | Code | Message                                 |
+---------+------+-----------------------------------------+
| Warning | 1292 | Truncated incorrect INTEGER value: 'ca' |
| Warning | 1292 | Truncated incorrect INTEGER value: 'ca' |
+---------+------+-----------------------------------------+
2 rows in set (0.00 sec)

Two warnings look redundant. One warning should be enough.


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