mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -585,7 +585,7 @@ WHERE name LIKE 'wait/synch/mutex/%'
|
||||
UPDATE performance_schema.setup_consumers SET enabled = 'YES';
|
||||
UPDATE performance_schema.setup_timers SET timer_name = 'TICK' WHERE name <> "wait";
|
||||
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
|
||||
TRUNCATE TABLE performance_schema.events_waits_history_long;
|
||||
TRUNCATE TABLE performance_schema.events_waits_history;
|
||||
TRUNCATE TABLE performance_schema.events_waits_current;
|
||||
@ -599,13 +599,13 @@ UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
|
||||
UPDATE performance_schema.setup_consumers SET enabled = 'YES';
|
||||
UPDATE performance_schema.setup_timers SET timer_name = 'MICROSECOND' where name="idle";
|
||||
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.setup_timers SET timer_name = 'NANOSECOND' where name="stage";
|
||||
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.setup_timers SET timer_name = 'NANOSECOND' where name="statement";
|
||||
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
|
||||
#
|
||||
# WL#2284: Increase the length of a user name
|
||||
#
|
||||
|
Reference in New Issue
Block a user