mariadb/mysql-test/suite/sys_vars/r
Martin Hansson df2bdd6063 Bug#14498355: DEPRECATION WARNINGS SHOULD NOT CONTAIN MYSQL VERSION
NUMBERS

If a system variable was declared as deprecated without mention of an
alternative, the message would look funny, e.g. for @@delayed_insert_limit:

Warning 1287 '@@delayed_insert_limit' is deprecated and
will be removed in MySQL .

The message was meant to display the version number, but it's not
possible to give one when declaring a system variable.

The fix does two things:

1) The definition of the message
ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT is changed so that it does
not display a version number. I.e. in English the message now reads:

Warning 1287 The syntax '@@delayed_insert_limit' is deprecated and
will be removed in a future version.

2) The message ER_WARN_DEPRECATED_SYNTAX_WITH_VER is discontinued in
favor of ER_WARN_DEPRECATED_SYNTAX for system variables. This change
was already done in versions 5.6 and above as part of wl#5265. This
part is simply back-ported from the worklog.
2012-08-24 10:17:08 +02:00
..
all_vars.result
auto_increment_increment_basic.result
auto_increment_increment_func.result
auto_increment_offset_basic.result
auto_increment_offset_func.result
autocommit_basic.result
autocommit_func.result
autocommit_func2.result
autocommit_func3.result
autocommit_func4.result
autocommit_func5.result
automatic_sp_privileges_basic.result
automatic_sp_privileges_func.result
back_log_basic.result
basedir_basic.result
big_tables_basic.result
binlog_cache_size_basic_32.result
binlog_cache_size_basic_64.result
binlog_direct_non_transactional_updates_basic.result
binlog_format_basic.result
binlog_stmt_cache_size_basic_32.result
binlog_stmt_cache_size_basic_64.result
bulk_insert_buffer_size_basic_32.result
bulk_insert_buffer_size_basic_64.result
character_set_client_basic.result
character_set_client_func.result
character_set_connection_basic.result
character_set_connection_func.result
character_set_database_basic.result
character_set_database_func.result
character_set_filesystem_basic.result
character_set_results_basic.result
character_set_results_func.result
character_set_server_basic.result
character_set_server_func.result
character_set_system_basic.result
character_sets_dir_basic.result
collation_connection_basic.result
collation_connection_func.result
collation_database_basic.result
collation_database_func.result
collation_server_basic.result
collation_server_func.result
completion_type_basic.result
completion_type_func.result
concurrent_insert_basic.result
concurrent_insert_func.result
connect_timeout_basic.result
datadir_basic.result
date_format_basic.result
datetime_format_basic.result
debug_basic.result
debug_sync_basic.result
default_storage_engine_basic.result
default_week_format_basic.result
default_week_format_func.result
delay_key_write_basic.result
delay_key_write_func.result
delayed_insert_limit_basic_32.result
delayed_insert_limit_basic_64.result
delayed_insert_limit_func.result
delayed_insert_timeout_basic.result
delayed_queue_size_basic_32.result
delayed_queue_size_basic_64.result
div_precision_increment_basic.result
div_precision_increment_func.result
engine_condition_pushdown_basic.result
error_count_basic.result
event_scheduler_basic.result
expire_logs_days_basic.result
external_user_basic.result
flush_basic.result
flush_time_basic.result
foreign_key_checks_basic.result
foreign_key_checks_func.result
ft_boolean_syntax_basic.result
ft_boolean_syntax_func.result
ft_max_word_len_basic.result
ft_min_word_len_basic.result
ft_query_expansion_limit_basic.result
ft_stopword_file_basic.result
general_log_basic.result
general_log_file_basic.result
general_log_file_func.result
general_log_func.result
group_concat_max_len_basic.result
group_concat_max_len_func.result
have_compress_basic.result
have_crypt_basic.result
have_csv_basic.result
have_dynamic_loading_basic.result
have_geometry_basic.result
have_innodb_basic.result
have_ndbcluster_basic.result
have_openssl_basic.result
have_partitioning_basic.result
have_profiling_basic.result
have_query_cache_basic.result
have_rtree_keys_basic.result
have_ssl_basic.result
have_symlink_basic.result
hostname_basic.result
identity_basic.result
identity_func.result
ignore_builtin_innodb_basic.result
init_connect_basic.result
init_file_basic.result
init_slave_basic.result
innodb_adaptive_flushing_basic.result
innodb_adaptive_hash_index_basic.result
innodb_additional_mem_pool_size_basic.result
innodb_autoextend_increment_basic.result
innodb_autoinc_lock_mode_basic.result
innodb_autoinc_lock_mode_func.result
innodb_buffer_pool_instances_basic.result
innodb_buffer_pool_size_basic.result
innodb_change_buffering_basic.result
innodb_change_buffering_debug_basic.result
innodb_checksums_basic.result
innodb_commit_concurrency_basic.result
innodb_concurrency_tickets_basic.result
innodb_data_file_path_basic.result
innodb_data_home_dir_basic.result
innodb_doublewrite_basic.result
innodb_fast_shutdown_basic.result
innodb_file_format_basic.result
innodb_file_format_check_basic.result
innodb_file_format_max_basic.result
innodb_file_io_threads_basic.result
innodb_file_per_table_basic.result
innodb_flush_log_at_trx_commit_basic.result
innodb_flush_method_basic.result
innodb_force_load_corrupted_basic.result
innodb_force_recovery_basic.result
innodb_io_capacity_basic.result
innodb_large_prefix_basic.result
innodb_lock_wait_timeout_basic.result
innodb_locks_unsafe_for_binlog_basic.result
innodb_log_buffer_size_basic.result
innodb_log_file_size_basic.result
innodb_log_files_in_group_basic.result
innodb_log_group_home_dir_basic.result
innodb_max_dirty_pages_pct_basic.result
innodb_max_dirty_pages_pct_func.result
innodb_max_purge_lag_basic.result
innodb_mirrored_log_groups_basic.result
innodb_old_blocks_pct_basic.result
innodb_old_blocks_time_basic.result
innodb_open_files_basic.result
innodb_purge_batch_size_basic.result
innodb_purge_threads_basic.result
innodb_random_read_ahead_basic.result
innodb_read_ahead_threshold_basic.result
innodb_read_io_threads_basic.result
innodb_replication_delay_basic.result
innodb_rollback_on_timeout_basic.result
innodb_rollback_segments_basic.result
innodb_spin_wait_delay_basic.result
innodb_stats_method_basic.result
innodb_stats_on_metadata_basic.result
innodb_stats_sample_pages_basic.result
innodb_strict_mode_basic.result
innodb_support_xa_basic.result
innodb_support_xa_func.result
innodb_sync_spin_loops_basic.result
innodb_table_locks_basic.result
innodb_table_locks_func.result
innodb_thread_concurrency_basic.result
innodb_thread_sleep_delay_basic.result
innodb_trx_rseg_n_slots_debug_basic.result
innodb_use_native_aio_basic.result
innodb_use_sys_malloc_basic.result
innodb_version_basic.result
innodb_write_io_threads_basic.result
insert_id_basic.result
insert_id_func.result
interactive_timeout_basic.result
interactive_timeout_func.result
join_buffer_size_basic_32.result
join_buffer_size_basic_64.result
keep_files_on_create_basic.result
key_buffer_size_basic.result
key_buffer_size_func.result
key_cache_age_threshold_basic_32.result
key_cache_age_threshold_basic_64.result
key_cache_block_size_basic.result
key_cache_division_limit_basic.result
large_files_support_basic.result
large_page_size_basic.result
large_pages_basic.result
last_insert_id_basic.result
last_insert_id_func.result
lc_messages_basic.result
lc_messages_dir_basic.result
lc_time_names_basic.result
lc_time_names_func.result
license_basic.result
local_infile_basic.result
local_infile_func.result
lock_wait_timeout_basic.result
locked_in_memory_basic.result
log_basic.result
log_bin_basic.result
log_bin_trust_function_creators_basic.result
log_bin_trust_function_creators_func.result
log_error_basic.result
log_error_func.result
log_error_func2.result
log_error_func3.result
log_output_basic.result
log_output_func.result
log_queries_not_using_indexes_basic.result
log_slave_updates_basic.result
log_slow_queries_basic.result
log_warnings_basic_32.result
log_warnings_basic_64.result
long_query_time_basic.result
low_priority_updates_basic.result
lower_case_file_system_basic.result
lower_case_table_names_basic.result
max_allowed_packet_basic.result
max_allowed_packet_func.result
max_binlog_cache_size_basic.result
max_binlog_cache_size_func.result
max_binlog_size_basic.result
max_binlog_stmt_cache_size_basic.result
max_connect_errors_basic_32.result
max_connect_errors_basic_64.result
max_connections_basic.result
max_delayed_threads_basic.result
max_error_count_basic.result
max_heap_table_size_basic.result
max_insert_delayed_threads_basic.result
max_join_size_basic.result
max_join_size_func.result
max_length_for_sort_data_basic.result
max_long_data_size_basic.result
max_prepared_stmt_count_basic.result
max_prepared_stmt_count_func.result
max_relay_log_size_basic.result
max_seeks_for_key_basic_32.result
max_seeks_for_key_basic_64.result
max_seeks_for_key_func.result
max_sort_length_basic.result
max_sort_length_func.result
max_sp_recursion_depth_basic.result
max_sp_recursion_depth_func.result
max_tmp_tables_basic_32.result
max_tmp_tables_basic_64.result
max_user_connections_basic.result
max_user_connections_func.result
max_write_lock_count_basic_32.result
max_write_lock_count_basic_64.result
maximum_basic.result
metadata_locks_cache_size_basic.result
min_examined_row_limit_basic_32.result
min_examined_row_limit_basic_64.result
multi_range_count_basic_32.result
multi_range_count_basic_64.result
myisam_data_pointer_size_basic.result
myisam_data_pointer_size_func.result
myisam_max_sort_file_size_basic_32.result
myisam_max_sort_file_size_basic_64.result
myisam_mmap_size_basic.result
myisam_recover_options_basic.result
myisam_repair_threads_basic_32.result
myisam_repair_threads_basic_64.result
myisam_sort_buffer_size_basic_32.result
myisam_sort_buffer_size_basic_64.result
myisam_stats_method_basic.result
myisam_stats_method_func.result
myisam_use_mmap_basic.result
named_pipe_basic.result
ndb_log_update_as_write_basic.result
ndb_log_updated_only_basic.result
net_buffer_length_basic.result
net_read_timeout_basic.result
net_retry_count_basic_32.result
net_retry_count_basic_64.result
net_write_timeout_basic.result
new_basic.result
old_alter_table_basic.result
old_basic.result
old_passwords_basic.result
old_passwords_func.result
open_files_limit_basic.result
optimizer_prune_level_basic.result
optimizer_search_depth_basic.result
optimizer_switch_basic.result
performance_schema_basic.result
pfs_events_waits_history_long_size_basic.result
pfs_events_waits_history_size_basic.result
pfs_max_cond_classes_basic.result
pfs_max_cond_instances_basic.result
pfs_max_file_classes_basic.result
pfs_max_file_handles_basic.result
pfs_max_file_instances_basic.result
pfs_max_mutex_classes_basic.result
pfs_max_mutex_instances_basic.result
pfs_max_rwlock_classes_basic.result
pfs_max_rwlock_instances_basic.result
pfs_max_table_handles_basic.result
pfs_max_table_instances_basic.result
pfs_max_thread_classes_basic.result
pfs_max_thread_instances_basic.result
pid_file_basic.result
plugin_dir_basic.result
port_basic.result
preload_buffer_size_basic.result
profiling_basic.result
profiling_history_size_basic.result
protocol_version_basic.result
proxy_user_basic.result
pseudo_thread_id_basic.result
query_alloc_block_size_basic_32.result
query_alloc_block_size_basic_64.result
query_cache_limit_basic_32.result
query_cache_limit_basic_64.result
query_cache_limit_func.result
query_cache_min_res_unit_basic_32.result
query_cache_min_res_unit_basic_64.result
query_cache_size_basic_32.result
query_cache_size_basic_64.result
query_cache_type_basic.result
query_cache_type_func.result
query_cache_wlock_invalidate_basic.result
query_cache_wlock_invalidate_func.result
query_prealloc_size_basic.result
query_prealloc_size_func.result
rand_seed1_basic.result
rand_seed2_basic.result
range_alloc_block_size_basic_32.result
range_alloc_block_size_basic_64.result
read_buffer_size_basic.result
read_only_basic.result
read_only_func.result
read_rnd_buffer_size_basic.result
relay_log_basic.result
relay_log_index_basic.result
relay_log_info_file_basic.result
relay_log_purge_basic.result
relay_log_recovery_basic.result
relay_log_space_limit_basic.result
report_host_basic.result
report_password_basic.result
report_port_basic.result
report_user_basic.result
rpl_init_slave_func.result
rpl_max_binlog_size_func.result
rpl_recovery_rank_basic_32.result
rpl_recovery_rank_basic_64.result
rpl_semi_sync_master_enabled_basic.result
rpl_semi_sync_master_timeout_basic.result
rpl_semi_sync_master_trace_level_basic.result
rpl_semi_sync_master_wait_no_slave_basic.result
rpl_semi_sync_slave_enabled_basic.result
rpl_semi_sync_slave_trace_level_basic.result
secure_auth_basic.result
secure_auth_func.result
secure_file_priv.result
secure_file_priv2.result
secure_file_priv_basic.result
server_id_basic.result
shared_memory_base_name_basic.result
shared_memory_basic.result
skip_external_locking_basic.result
skip_name_resolve_basic.result
skip_networking_basic.result
skip_show_database_basic.result
slave_allow_batching_basic.result
slave_compressed_protocol_basic.result
slave_exec_mode_basic.result
slave_load_tmpdir_basic.result
slave_max_allowed_packet_basic.result
slave_net_timeout_basic.result
slave_skip_errors_basic.result
slave_transaction_retries_basic_32.result
slave_transaction_retries_basic_64.result
slave_type_conversions_basic.result
slow_launch_time_basic.result
slow_launch_time_func.result
slow_query_log_basic.result
slow_query_log_file_basic.result
slow_query_log_file_func.result
slow_query_log_func.result
socket_basic.result
sort_buffer_size_basic_32.result
sort_buffer_size_basic_64.result
sql_auto_is_null_basic.result
sql_big_selects_basic.result
sql_big_selects_func.result
sql_big_tables_basic.result
sql_big_tables_func.result
sql_buffer_result_basic.result
sql_buffer_result_func.result
sql_log_bin_basic.result
sql_log_off_basic.result
sql_log_off_func.result
sql_low_priority_updates_basic.result
sql_low_priority_updates_func.result
sql_max_join_size_basic.result
sql_max_join_size_func.result
sql_mode_basic.result
sql_mode_func.result
sql_notes_basic.result
sql_notes_func.result
sql_quote_show_create_basic.result
sql_quote_show_create_func.result
sql_safe_updates_basic.result
sql_safe_updates_func.result
sql_select_limit_basic.result
sql_select_limit_func.result
sql_slave_skip_counter_basic.result
sql_warnings_basic.result
sql_warnings_func.result
ssl_ca_basic.result
ssl_capath_basic.result
ssl_cert_basic.result
ssl_cipher_basic.result
ssl_key_basic.result
storage_engine_basic.result
stored_program_cache_basic.result
sync_binlog_basic.result
sync_frm_basic.result
sync_master_info_basic.result
sync_relay_log_basic.result
sync_relay_log_info_basic.result
system_time_zone_basic.result
table_definition_cache_basic.result
table_open_cache_basic.result
thread_cache_size_basic.result
thread_cache_size_func.result
thread_concurrency_basic.result
thread_handling_basic.result
thread_stack_basic.result
time_format_basic.result
time_zone_basic.result
time_zone_func.result
timed_mutexes_basic.result
timestamp_basic.result
timestamp_func.result
timestamp_sysdate_is_now_func.result
tmp_table_size_basic.result
tmpdir_basic.result
transaction_alloc_block_size_basic_32.result
transaction_alloc_block_size_basic_64.result
transaction_prealloc_size_basic_32.result
transaction_prealloc_size_basic_64.result
tx_isolation_basic.result
tx_isolation_func.result
unique_checks_basic.result
updatable_views_with_limit_basic.result
updatable_views_with_limit_func.result
version_basic.result
version_comment_basic.result
version_compile_machine_basic.result
version_compile_os_basic.result
wait_timeout_basic.result
wait_timeout_func.result
warning_count_basic.result