diff options
| author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-03-01 09:22:52 +0200 |
|---|---|---|
| committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-03-01 09:22:52 +0200 |
| commit | fd5a6d0f75f1435e6b15409516ccba54b8fee145 (patch) | |
| tree | 9b47d4a947797879ce26853ace778cb0596c5abb /mysql-test/main/func_crypt.test | |
| parent | 07f4a4a6d16f75731a1e97a0b551c730165293bd (diff) | |
| download | mariadb-git-fd5a6d0f75f1435e6b15409516ccba54b8fee145.tar.gz | |
MDEV-27964: Test ENCRYPT() only in main.func_crypt
Diffstat (limited to 'mysql-test/main/func_crypt.test')
| -rw-r--r-- | mysql-test/main/func_crypt.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/func_crypt.test b/mysql-test/main/func_crypt.test index 907376049d8..cf6a6371e50 100644 --- a/mysql-test/main/func_crypt.test +++ b/mysql-test/main/func_crypt.test @@ -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 |
