1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-27104 deprecate DES_ENCRYPT/DECRYPT functions

This commit is contained in:
Sergei Golubchik
2022-06-18 23:23:28 +02:00
parent 90c3b2835d
commit fe8b99dd5c
9 changed files with 266 additions and 18 deletions

View File

@ -120,7 +120,9 @@ CREATE TABLE t1 (
b BLOB DEFAULT DES_ENCRYPT(a, 'passwd'),
c TEXT DEFAULT DES_DECRYPT(b, 'passwd')
);
--disable_warnings
SHOW CREATE TABLE t1;
--enable_warnings
INSERT INTO t1 (a) VALUES ('test');
SELECT c FROM t1;
DROP TABLE t1;