mariadb/mysql-test/suite/engines/iuds/r
Christian Gonzalez 4186fa72fb MDEV-28671 Enable var deprecation for mysqld help output
Currently there are mechanism to mark a system variable as
deprecated, but they are only used to print warning messages
when a deprecated variable is set.

Leverage the existing mechanisms in order to make the
deprecation information available at the --help output of mysqld by:

* Moving the deprecation information (i.e `deprecation_substitute`
  attribute) from the `sys_var` class into the `my_option` struct.
  As every `sys_var` contains its own `my_option` struct, the access
  to the deprecation information remains available to `sys_var`
  objects. `my_getotp` functions, which works directly with
  `my_option` structs, gain access to this information while building
  the --help output.

* For plugin variables, leverages the `PLUGIN_VAR_DEPRECATED` flag
  and set the `deprecation_substitute` attribute  accordingly when
  building the `my_option` objects.

* Change the `option_cmp` function to use the `deprecation_substitute`
  attribute instead of the name when sorting the options. This way
  deprecated options and the substitutes will be grouped together.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer
Amazon Web Services, Inc.
2024-05-27 12:39:02 +02:00
..
delete_decimal.result MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
delete_time.result Result files were wrong due to MySQL bug#66034 2012-07-26 23:31:08 +04:00
delete_year.result MDEV-28671 Enable var deprecation for mysqld help output 2024-05-27 12:39:02 +02:00
insert_calendar.result
insert_decimal.result MDEV-27712 Reduce the size of Lex_length_and_dec_st from 16 to 8 2022-03-22 14:42:54 +04:00
insert_number.result MDEV-14576 Include full name of object in message about incorrect value for column 2018-12-21 13:31:18 +01:00
insert_time.result MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
insert_year.result MDEV-28671 Enable var deprecation for mysqld help output 2024-05-27 12:39:02 +02:00
strings_charsets_update_delete.result MDEV-25829 Change default Unicode collation to uca1400_ai_ci 2024-05-24 15:50:05 +04:00
strings_update_delete.result fixup of "Make error messages from DROP TABLE and DROP TABLE IF EXISTS consistent" results 2020-06-15 12:28:34 +02:00
type_bit_iuds.result Stabilize engines/iuds.type_bit_iuds test 2023-02-03 13:26:21 +03:00
update_decimal.result MDEV-14576 Include full name of object in message about incorrect value for column 2018-12-21 13:31:18 +01:00
update_delete_calendar.result Merge 5.3->5.5 2012-08-02 04:22:43 +04:00
update_delete_number.result MDEV-28965 Assertion failure when preparing UPDATE with derived table in WHERE 2023-03-15 17:35:22 -07:00
update_time.result Merge 10.1 into 10.2 2018-03-21 22:58:52 +02:00
update_year.result MDEV-28671 Enable var deprecation for mysqld help output 2024-05-27 12:39:02 +02:00