1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-27964: Test ENCRYPT() only in main.func_crypt

This commit is contained in:
Marko Mäkelä
2022-03-01 09:22:52 +02:00
parent 07f4a4a6d1
commit fd5a6d0f75
4 changed files with 21 additions and 18 deletions

View File

@ -9,15 +9,6 @@ ERROR HY000: \042D\0442\0443 \043E\043F\0435\0440\0430\0446\0438\044E \043D\0435
STOP SLAVE;
RESET SLAVE ALL;
#
# MDEV-25778 Overrun buffer in to_string_native()
#
CREATE TABLE t1 (a DECIMAL(15,11) ZEROFILL);
INSERT INTO t1 (a) VALUES (0.1),(0.2);
SELECT length(ENCRYPT(a)) AS f, COUNT(*) FROM t1 GROUP BY f;
f COUNT(*)
13 2
DROP TABLE t1;
#
# MDEV-25754 ASAN: stack-buffer-overflow in Field_newdate::val_str
#
CREATE TABLE t1 (d DATE);