mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
df4bfefbb8
remove old deprecation helpers that were not used anywhere. create new deprecation helpers and enforce their usage this also removes inconsistencies in reporting deprecation: sometimes it was ER_WARN_DEPRECATED_SYNTAX (1287), sometimes ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT (1681), sometimes a warning, sometimes a note. it should always be * ER_WARN_DEPRECATED_SYNTAX * a warning (because it's something actionable, not purely informational)
10 lines
274 B
Text
10 lines
274 B
Text
CREATE TABLE t1(a int) engine=innodb;
|
|
INSERT INTO t1 VALUES (1);
|
|
SELECT DISTINCT
|
|
convert((SELECT des_decrypt(2,1) AS a FROM t1 WHERE @a:=1), signed) as d
|
|
FROM t1 ;
|
|
d
|
|
2
|
|
Warnings:
|
|
Warning 1287 'des_decrypt' is deprecated and will be removed in a future release
|
|
DROP TABLE t1;
|