mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
compile-time deprecation reminders
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)
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
#
|
||||
# 0. Check, build or set prequisites
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
Warning 1287 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
UPDATE performance_schema.threads
|
||||
SET INSTRUMENTED='NO' WHERE PROCESSLIST_ID = CONNECTION_ID();
|
||||
# 1. Basic checks
|
||||
@ -222,5 +222,5 @@ connection default;
|
||||
TRUNCATE TABLE performance_schema.socket_summary_by_instance;
|
||||
# 6. Cleanup
|
||||
Warnings:
|
||||
Warning 1681 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
Warning 1287 'performance_schema.setup_timers' is deprecated and will be removed in a future release
|
||||
connection default;
|
||||
|
Reference in New Issue
Block a user