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:
@ -149,3 +149,14 @@ SELECT * FROM t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo # End of 10.2 tests
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25778 Overrun buffer in to_string_native()
|
||||
--echo #
|
||||
|
||||
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;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo # End of 10.6 tests
|
||||
|
Reference in New Issue
Block a user