[MDEV-32048] It is needed surround the invalid argument with quotes in the warning message of KDF() function Created: 2023-08-31  Updated: 2023-08-31

Status: In Testing
Project: MariaDB Server
Component/s: None
Affects Version/s: 11.3
Fix Version/s: 11.3

Type: Bug Priority: Trivial
Reporter: Lena Startseva Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-31474 KDF() function Closed

 Description   

if you pass a string like "'\n\n\n'" as an argument of KDF() function, the warning message looks "funny":
Testcase:

select hex(kdf('foo', 'bar', 10, '\n\n\n'));

Actual result:

hex(kdf('foo', 'bar', 10, '\n\n\n'))
NULL
Warnings:
Warning	3047	Invalid argument error: 
 
 
 in function kdf.


Generated at Thu Feb 08 10:28:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.