Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:40

0001 //
0002 // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef BOOST_MYSQL_IMPL_INTERNAL_ERROR_SERVER_ERROR_TO_STRING_IPP
0009 #define BOOST_MYSQL_IMPL_INTERNAL_ERROR_SERVER_ERROR_TO_STRING_IPP
0010 
0011 // This file was generated by server_errors.py - do not edit directly.
0012 
0013 #include <boost/mysql/detail/config.hpp>
0014 #include <boost/mysql/impl/internal/error/server_error_to_string.hpp>
0015 
0016 BOOST_MYSQL_STATIC_IF_COMPILED
0017 constexpr const char* common_error_messages[] = {
0018     "er_hashchk",
0019     "er_nisamchk",
0020     "er_no",
0021     "er_yes",
0022     "er_cant_create_file",
0023     "er_cant_create_table",
0024     "er_cant_create_db",
0025     "er_db_create_exists",
0026     "er_db_drop_exists",
0027     "er_db_drop_delete",
0028     "er_db_drop_rmdir",
0029     "er_cant_delete_file",
0030     "er_cant_find_system_rec",
0031     "er_cant_get_stat",
0032     "er_cant_get_wd",
0033     "er_cant_lock",
0034     "er_cant_open_file",
0035     "er_file_not_found",
0036     "er_cant_read_dir",
0037     "er_cant_set_wd",
0038     "er_checkread",
0039     "er_disk_full",
0040     "er_dup_key",
0041     "er_error_on_close",
0042     "er_error_on_read",
0043     "er_error_on_rename",
0044     "er_error_on_write",
0045     "er_file_used",
0046     "er_filsort_abort",
0047     "er_form_not_found",
0048     "er_get_errno",
0049     "er_illegal_ha",
0050     "er_key_not_found",
0051     "er_not_form_file",
0052     "er_not_keyfile",
0053     "er_old_keyfile",
0054     "er_open_as_readonly",
0055     "er_outofmemory",
0056     "er_out_of_sortmemory",
0057     "er_unexpected_eof",
0058     "er_con_count_error",
0059     "er_out_of_resources",
0060     "er_bad_host_error",
0061     "er_handshake_error",
0062     "er_dbaccess_denied_error",
0063     "er_access_denied_error",
0064     "er_no_db_error",
0065     "er_unknown_com_error",
0066     "er_bad_null_error",
0067     "er_bad_db_error",
0068     "er_table_exists_error",
0069     "er_bad_table_error",
0070     "er_non_uniq_error",
0071     "er_server_shutdown",
0072     "er_bad_field_error",
0073     "er_wrong_field_with_group",
0074     "er_wrong_group_field",
0075     "er_wrong_sum_select",
0076     "er_wrong_value_count",
0077     "er_too_long_ident",
0078     "er_dup_fieldname",
0079     "er_dup_keyname",
0080     "er_dup_entry",
0081     "er_wrong_field_spec",
0082     "er_parse_error",
0083     "er_empty_query",
0084     "er_nonuniq_table",
0085     "er_invalid_default",
0086     "er_multiple_pri_key",
0087     "er_too_many_keys",
0088     "er_too_many_key_parts",
0089     "er_too_long_key",
0090     "er_key_column_does_not_exits",
0091     "er_blob_used_as_key",
0092     "er_too_big_fieldlength",
0093     "er_wrong_auto_key",
0094     nullptr,
0095     "er_normal_shutdown",
0096     "er_got_signal",
0097     "er_shutdown_complete",
0098     "er_forcing_close",
0099     "er_ipsock_error",
0100     "er_no_such_index",
0101     "er_wrong_field_terminators",
0102     "er_blobs_and_no_terminated",
0103     "er_textfile_not_readable",
0104     "er_file_exists_error",
0105     "er_load_info",
0106     "er_alter_info",
0107     "er_wrong_sub_key",
0108     "er_cant_remove_all_fields",
0109     "er_cant_drop_field_or_key",
0110     "er_insert_info",
0111     "er_update_table_used",
0112     "er_no_such_thread",
0113     "er_kill_denied_error",
0114     "er_no_tables_used",
0115     "er_too_big_set",
0116     "er_no_unique_logfile",
0117     "er_table_not_locked_for_write",
0118     "er_table_not_locked",
0119     nullptr,
0120     "er_wrong_db_name",
0121     "er_wrong_table_name",
0122     "er_too_big_select",
0123     "er_unknown_error",
0124     "er_unknown_procedure",
0125     "er_wrong_paramcount_to_procedure",
0126     "er_wrong_parameters_to_procedure",
0127     "er_unknown_table",
0128     "er_field_specified_twice",
0129     "er_invalid_group_func_use",
0130     "er_unsupported_extension",
0131     "er_table_must_have_columns",
0132     "er_record_file_full",
0133     "er_unknown_character_set",
0134     "er_too_many_tables",
0135     "er_too_many_fields",
0136     "er_too_big_rowsize",
0137     "er_stack_overrun",
0138     nullptr,
0139     "er_null_column_in_index",
0140     "er_cant_find_udf",
0141     "er_cant_initialize_udf",
0142     "er_udf_no_paths",
0143     "er_udf_exists",
0144     "er_cant_open_library",
0145     "er_cant_find_dl_entry",
0146     "er_function_not_defined",
0147     "er_host_is_blocked",
0148     "er_host_not_privileged",
0149     "er_password_anonymous_user",
0150     "er_password_not_allowed",
0151     "er_password_no_match",
0152     "er_update_info",
0153     "er_cant_create_thread",
0154     "er_wrong_value_count_on_row",
0155     "er_cant_reopen_table",
0156     "er_invalid_use_of_null",
0157     "er_regexp_error",
0158     "er_mix_of_group_func_and_fields",
0159     "er_nonexisting_grant",
0160     "er_tableaccess_denied_error",
0161     "er_columnaccess_denied_error",
0162     "er_illegal_grant_for_table",
0163     "er_grant_wrong_host_or_user",
0164     "er_no_such_table",
0165     "er_nonexisting_table_grant",
0166     "er_not_allowed_command",
0167     "er_syntax_error",
0168     nullptr,
0169     nullptr,
0170     "er_aborting_connection",
0171     "er_net_packet_too_large",
0172     "er_net_read_error_from_pipe",
0173     "er_net_fcntl_error",
0174     "er_net_packets_out_of_order",
0175     "er_net_uncompress_error",
0176     "er_net_read_error",
0177     "er_net_read_interrupted",
0178     "er_net_error_on_write",
0179     "er_net_write_interrupted",
0180     "er_too_long_string",
0181     "er_table_cant_handle_blob",
0182     "er_table_cant_handle_auto_increment",
0183     nullptr,
0184     "er_wrong_column_name",
0185     "er_wrong_key_column",
0186     "er_wrong_mrg_table",
0187     "er_dup_unique",
0188     "er_blob_key_without_length",
0189     "er_primary_cant_have_null",
0190     "er_too_many_rows",
0191     "er_requires_primary_key",
0192     "er_no_raid_compiled",
0193     "er_update_without_key_in_safe_mode",
0194     nullptr,
0195     "er_check_no_such_table",
0196     "er_check_not_implemented",
0197     "er_cant_do_this_during_an_transaction",
0198     "er_error_during_commit",
0199     "er_error_during_rollback",
0200     "er_error_during_flush_logs",
0201     "er_error_during_checkpoint",
0202     "er_new_aborting_connection",
0203     nullptr,
0204     "er_flush_master_binlog_closed",
0205     "er_index_rebuild",
0206     "er_master",
0207     "er_master_net_read",
0208     "er_master_net_write",
0209     "er_ft_matching_key_not_found",
0210     "er_lock_or_active_transaction",
0211     "er_unknown_system_variable",
0212     "er_crashed_on_usage",
0213     "er_crashed_on_repair",
0214     "er_warning_not_complete_rollback",
0215     "er_trans_cache_full",
0216     "er_slave_must_stop",
0217     "er_slave_not_running",
0218     "er_bad_slave",
0219     "er_master_info",
0220     "er_slave_thread",
0221     "er_too_many_user_connections",
0222     "er_set_constants_only",
0223     "er_lock_wait_timeout",
0224     "er_lock_table_full",
0225     "er_read_only_transaction",
0226     "er_drop_db_with_read_lock",
0227     "er_create_db_with_read_lock",
0228     "er_wrong_arguments",
0229     "er_no_permission_to_create_user",
0230     "er_union_tables_in_different_dir",
0231     "er_lock_deadlock",
0232     "er_table_cant_handle_ft",
0233     "er_cannot_add_foreign",
0234     "er_no_referenced_row",
0235     "er_row_is_referenced",
0236     "er_connect_to_master",
0237     "er_query_on_master",
0238     "er_error_when_executing_command",
0239     "er_wrong_usage",
0240     "er_wrong_number_of_columns_in_select",
0241     "er_cant_update_with_readlock",
0242     "er_mixing_not_allowed",
0243     "er_dup_argument",
0244     "er_user_limit_reached",
0245     "er_specific_access_denied_error",
0246     "er_local_variable",
0247     "er_global_variable",
0248     "er_no_default",
0249     "er_wrong_value_for_var",
0250     "er_wrong_type_for_var",
0251     "er_var_cant_be_read",
0252     "er_cant_use_option_here",
0253     "er_not_supported_yet",
0254     "er_master_fatal_error_reading_binlog",
0255     "er_slave_ignored_table",
0256     "er_incorrect_global_local_var",
0257     "er_wrong_fk_def",
0258     "er_key_ref_do_not_match_table_ref",
0259     "er_operand_columns",
0260     "er_subquery_no_1_row",
0261     "er_unknown_stmt_handler",
0262     "er_corrupt_help_db",
0263     "er_cyclic_reference",
0264     "er_auto_convert",
0265     "er_illegal_reference",
0266     "er_derived_must_have_alias",
0267     "er_select_reduced",
0268     "er_tablename_not_allowed_here",
0269     "er_not_supported_auth_mode",
0270     "er_spatial_cant_have_null",
0271     "er_collation_charset_mismatch",
0272     "er_slave_was_running",
0273     "er_slave_was_not_running",
0274     "er_too_big_for_uncompress",
0275     "er_zlib_z_mem_error",
0276     "er_zlib_z_buf_error",
0277     "er_zlib_z_data_error",
0278     "er_cut_value_group_concat",
0279     "er_warn_too_few_records",
0280     "er_warn_too_many_records",
0281     "er_warn_null_to_notnull",
0282     "er_warn_data_out_of_range",
0283     "warn_data_truncated",
0284     "er_warn_using_other_handler",
0285     "er_cant_aggregate_2collations",
0286     "er_drop_user",
0287     "er_revoke_grants",
0288     "er_cant_aggregate_3collations",
0289     "er_cant_aggregate_ncollations",
0290     "er_variable_is_not_struct",
0291     "er_unknown_collation",
0292     "er_slave_ignored_ssl_params",
0293     "er_server_is_in_secure_auth_mode",
0294     "er_warn_field_resolved",
0295     "er_bad_slave_until_cond",
0296     "er_missing_skip_slave",
0297     "er_until_cond_ignored",
0298     "er_wrong_name_for_index",
0299     "er_wrong_name_for_catalog",
0300     "er_warn_qc_resize",
0301     "er_bad_ft_column",
0302     "er_unknown_key_cache",
0303     "er_warn_hostname_wont_work",
0304     "er_unknown_storage_engine",
0305     "er_warn_deprecated_syntax",
0306     "er_non_updatable_table",
0307     "er_feature_disabled",
0308     "er_option_prevents_statement",
0309     "er_duplicated_value_in_type",
0310     "er_truncated_wrong_value",
0311     "er_too_much_auto_timestamp_cols",
0312     "er_invalid_on_update",
0313     "er_unsupported_ps",
0314     "er_get_errmsg",
0315     "er_get_temporary_errmsg",
0316     "er_unknown_time_zone",
0317     "er_warn_invalid_timestamp",
0318     "er_invalid_character_string",
0319     "er_warn_allowed_packet_overflowed",
0320     "er_conflicting_declarations",
0321     "er_sp_no_recursive_create",
0322     "er_sp_already_exists",
0323     "er_sp_does_not_exist",
0324     "er_sp_drop_failed",
0325     "er_sp_store_failed",
0326     "er_sp_lilabel_mismatch",
0327     "er_sp_label_redefine",
0328     "er_sp_label_mismatch",
0329     "er_sp_uninit_var",
0330     "er_sp_badselect",
0331     "er_sp_badreturn",
0332     "er_sp_badstatement",
0333     "er_update_log_deprecated_ignored",
0334     "er_update_log_deprecated_translated",
0335     "er_query_interrupted",
0336     "er_sp_wrong_no_of_args",
0337     "er_sp_cond_mismatch",
0338     "er_sp_noreturn",
0339     "er_sp_noreturnend",
0340     "er_sp_bad_cursor_query",
0341     "er_sp_bad_cursor_select",
0342     "er_sp_cursor_mismatch",
0343     "er_sp_cursor_already_open",
0344     "er_sp_cursor_not_open",
0345     "er_sp_undeclared_var",
0346     "er_sp_wrong_no_of_fetch_args",
0347     "er_sp_fetch_no_data",
0348     "er_sp_dup_param",
0349     "er_sp_dup_var",
0350     "er_sp_dup_cond",
0351     "er_sp_dup_curs",
0352     "er_sp_cant_alter",
0353     "er_sp_subselect_nyi",
0354     "er_stmt_not_allowed_in_sf_or_trg",
0355     "er_sp_varcond_after_curshndlr",
0356     "er_sp_cursor_after_handler",
0357     "er_sp_case_not_found",
0358     "er_fparser_too_big_file",
0359     "er_fparser_bad_header",
0360     "er_fparser_eof_in_comment",
0361     "er_fparser_error_in_parameter",
0362     "er_fparser_eof_in_unknown_parameter",
0363     "er_view_no_explain",
0364     "er_frm_unknown_type",
0365     "er_wrong_object",
0366     "er_nonupdateable_column",
0367     nullptr,
0368     "er_view_select_clause",
0369     "er_view_select_variable",
0370     "er_view_select_tmptable",
0371     "er_view_wrong_list",
0372     "er_warn_view_merge",
0373     "er_warn_view_without_key",
0374     "er_view_invalid",
0375     "er_sp_no_drop_sp",
0376     "er_sp_goto_in_hndlr",
0377     "er_trg_already_exists",
0378     "er_trg_does_not_exist",
0379     "er_trg_on_view_or_temp_table",
0380     "er_trg_cant_change_row",
0381     "er_trg_no_such_row_in_trg",
0382     "er_no_default_for_field",
0383     "er_division_by_zero",
0384     "er_truncated_wrong_value_for_field",
0385     "er_illegal_value_for_type",
0386     "er_view_nonupd_check",
0387     "er_view_check_failed",
0388     "er_procaccess_denied_error",
0389     "er_relay_log_fail",
0390     "er_passwd_length",
0391     "er_unknown_target_binlog",
0392     "er_io_err_log_index_read",
0393     "er_binlog_purge_prohibited",
0394     "er_fseek_fail",
0395     "er_binlog_purge_fatal_err",
0396     "er_log_in_use",
0397     "er_log_purge_unknown_err",
0398     "er_relay_log_init",
0399     "er_no_binary_logging",
0400     "er_reserved_syntax",
0401     "er_wsas_failed",
0402     "er_diff_groups_proc",
0403     "er_no_group_for_proc",
0404     "er_order_with_proc",
0405     "er_logging_prohibit_changing_of",
0406     "er_no_file_mapping",
0407     "er_wrong_magic",
0408     "er_ps_many_param",
0409     "er_key_part_0",
0410     "er_view_checksum",
0411     "er_view_multiupdate",
0412     "er_view_no_insert_field_list",
0413     "er_view_delete_merge_view",
0414     "er_cannot_user",
0415     "er_xaer_nota",
0416     "er_xaer_inval",
0417     "er_xaer_rmfail",
0418     "er_xaer_outside",
0419     "er_xaer_rmerr",
0420     "er_xa_rbrollback",
0421     "er_nonexisting_proc_grant",
0422     "er_proc_auto_grant_fail",
0423     "er_proc_auto_revoke_fail",
0424     "er_data_too_long",
0425     "er_sp_bad_sqlstate",
0426     "er_startup",
0427     "er_load_from_fixed_size_rows_to_var",
0428     "er_cant_create_user_with_grant",
0429     "er_wrong_value_for_type",
0430     "er_table_def_changed",
0431     "er_sp_dup_handler",
0432     "er_sp_not_var_arg",
0433     "er_sp_no_retset",
0434     "er_cant_create_geometry_object",
0435     "er_failed_routine_break_binlog",
0436     "er_binlog_unsafe_routine",
0437     "er_binlog_create_routine_need_super",
0438     "er_exec_stmt_with_open_cursor",
0439     "er_stmt_has_no_open_cursor",
0440     "er_commit_not_allowed_in_sf_or_trg",
0441     "er_no_default_for_view_field",
0442     "er_sp_no_recursion",
0443     "er_too_big_scale",
0444     "er_too_big_precision",
0445     "er_m_bigger_than_d",
0446     "er_wrong_lock_of_system_table",
0447     "er_connect_to_foreign_data_source",
0448     "er_query_on_foreign_data_source",
0449     "er_foreign_data_source_doesnt_exist",
0450     "er_foreign_data_string_invalid_cant_create",
0451     "er_foreign_data_string_invalid",
0452     "er_cant_create_federated_table",
0453     "er_trg_in_wrong_schema",
0454     "er_stack_overrun_need_more",
0455     "er_too_long_body",
0456     "er_warn_cant_drop_default_keycache",
0457     "er_too_big_displaywidth",
0458     "er_xaer_dupid",
0459     "er_datetime_function_overflow",
0460     "er_cant_update_used_table_in_sf_or_trg",
0461     "er_view_prevent_update",
0462     "er_ps_no_recursion",
0463     "er_sp_cant_set_autocommit",
0464     "er_malformed_definer",
0465     "er_view_frm_no_user",
0466     "er_view_other_user",
0467     "er_no_such_user",
0468     "er_forbid_schema_change",
0469     "er_row_is_referenced_2",
0470     "er_no_referenced_row_2",
0471     "er_sp_bad_var_shadow",
0472     "er_trg_no_definer",
0473     "er_old_file_format",
0474     "er_sp_recursion_limit",
0475     "er_sp_proc_table_corrupt",
0476     "er_sp_wrong_name",
0477     "er_table_needs_upgrade",
0478     "er_sp_no_aggregate",
0479     "er_max_prepared_stmt_count_reached",
0480     "er_view_recursive",
0481     "er_non_grouping_field_used",
0482     "er_table_cant_handle_spkeys",
0483     "er_no_triggers_on_system_schema",
0484     "er_removed_spaces",
0485     "er_autoinc_read_failed",
0486     "er_username",
0487     "er_hostname",
0488     "er_wrong_string_length",
0489     "er_non_insertable_table",
0490     "er_admin_wrong_mrg_table",
0491     "er_too_high_level_of_nesting_for_select",
0492     "er_name_becomes_empty",
0493     "er_ambiguous_field_term",
0494     "er_foreign_server_exists",
0495     "er_foreign_server_doesnt_exist",
0496     "er_illegal_ha_create_option",
0497     "er_partition_requires_values_error",
0498     "er_partition_wrong_values_error",
0499     "er_partition_maxvalue_error",
0500     "er_partition_subpartition_error",
0501     "er_partition_subpart_mix_error",
0502     "er_partition_wrong_no_part_error",
0503     "er_partition_wrong_no_subpart_error",
0504     "er_wrong_expr_in_partition_func_error",
0505     nullptr,
0506     "er_field_not_found_part_error",
0507     "er_list_of_fields_only_in_hash_error",
0508     "er_inconsistent_partition_info_error",
0509     "er_partition_func_not_allowed_error",
0510     "er_partitions_must_be_defined_error",
0511     "er_range_not_increasing_error",
0512     "er_inconsistent_type_of_functions_error",
0513     "er_multiple_def_const_in_list_part_error",
0514     "er_partition_entry_error",
0515     "er_mix_handler_error",
0516     "er_partition_not_defined_error",
0517     "er_too_many_partitions_error",
0518     "er_subpartition_error",
0519     "er_cant_create_handler_file",
0520     "er_blob_field_in_part_func_error",
0521     "er_unique_key_need_all_fields_in_pf",
0522     "er_no_parts_error",
0523     "er_partition_mgmt_on_nonpartitioned",
0524     nullptr,
0525     "er_drop_partition_non_existent",
0526     "er_drop_last_partition",
0527     "er_coalesce_only_on_hash_partition",
0528     "er_reorg_hash_only_on_same_no",
0529     "er_reorg_no_param_error",
0530     "er_only_on_range_list_partition",
0531     "er_add_partition_subpart_error",
0532     "er_add_partition_no_new_partition",
0533     "er_coalesce_partition_no_partition",
0534     "er_reorg_partition_not_exist",
0535     "er_same_name_partition",
0536     "er_no_binlog_error",
0537     "er_consecutive_reorg_partitions",
0538     "er_reorg_outside_range",
0539     "er_partition_function_failure",
0540     "er_part_state_error",
0541     "er_limited_part_range",
0542     "er_plugin_is_not_loaded",
0543     "er_wrong_value",
0544     "er_no_partition_for_given_value",
0545     "er_filegroup_option_only_once",
0546     "er_create_filegroup_failed",
0547     "er_drop_filegroup_failed",
0548     "er_tablespace_auto_extend_error",
0549     "er_wrong_size_number",
0550     "er_size_overflow_error",
0551     "er_alter_filegroup_failed",
0552     "er_binlog_row_logging_failed",
0553     "er_binlog_row_wrong_table_def",
0554     "er_binlog_row_rbr_to_sbr",
0555     "er_event_already_exists",
0556     "er_event_store_failed",
0557     "er_event_does_not_exist",
0558     "er_event_cant_alter",
0559     "er_event_drop_failed",
0560     "er_event_interval_not_positive_or_too_big",
0561     "er_event_ends_before_starts",
0562     "er_event_exec_time_in_the_past",
0563     "er_event_open_table_failed",
0564     "er_event_neither_m_expr_nor_m_at",
0565     nullptr,
0566     nullptr,
0567     "er_event_cannot_delete",
0568     "er_event_compile_error",
0569     "er_event_same_name",
0570     "er_event_data_too_long",
0571     "er_drop_index_fk",
0572     "er_warn_deprecated_syntax_with_ver",
0573     "er_cant_write_lock_log_table",
0574     "er_cant_lock_log_table",
0575     nullptr,
0576     "er_col_count_doesnt_match_please_update",
0577     "er_temp_table_prevents_switch_out_of_rbr",
0578     "er_stored_function_prevents_switch_binlog_format",
0579     nullptr,
0580     "er_partition_no_temporary",
0581     "er_partition_const_domain_error",
0582     "er_partition_function_is_not_allowed",
0583     "er_ddl_log_error",
0584     "er_null_in_values_less_than",
0585     "er_wrong_partition_name",
0586     "er_cant_change_tx_characteristics",
0587     "er_dup_entry_autoincrement_case",
0588     "er_event_modify_queue_error",
0589     "er_event_set_var_error",
0590     "er_partition_merge_error",
0591     "er_cant_activate_log",
0592     "er_rbr_not_available",
0593     "er_base64_decode_error",
0594     "er_event_recursion_forbidden",
0595     "er_events_db_error",
0596     "er_only_integers_allowed",
0597     "er_unsuported_log_engine",
0598     "er_bad_log_statement",
0599     "er_cant_rename_log_table",
0600     "er_wrong_paramcount_to_native_fct",
0601     "er_wrong_parameters_to_native_fct",
0602     "er_wrong_parameters_to_stored_fct",
0603     "er_native_fct_name_collision",
0604     "er_dup_entry_with_key_name",
0605     "er_binlog_purge_emfile",
0606     "er_event_cannot_create_in_the_past",
0607     "er_event_cannot_alter_in_the_past",
0608     "er_slave_incident",
0609     "er_no_partition_for_given_value_silent",
0610     "er_binlog_unsafe_statement",
0611     nullptr,
0612     "er_slave_relay_log_read_failure",
0613     "er_slave_relay_log_write_failure",
0614     "er_slave_create_event_failure",
0615     "er_slave_master_com_failure",
0616     "er_binlog_logging_impossible",
0617     "er_view_no_creation_ctx",
0618     "er_view_invalid_creation_ctx",
0619     "er_sr_invalid_creation_ctx",
0620     "er_trg_corrupted_file",
0621     "er_trg_no_creation_ctx",
0622     "er_trg_invalid_creation_ctx",
0623     "er_event_invalid_creation_ctx",
0624     "er_trg_cant_open_table",
0625     "er_cant_create_sroutine",
0626     nullptr,
0627     "er_no_format_description_event_before_binlog_statement",
0628     "er_slave_corrupt_event",
0629     nullptr,
0630     "er_log_purge_no_file",
0631     "er_xa_rbtimeout",
0632     "er_xa_rbdeadlock",
0633     "er_need_reprepare",
0634     "er_delayed_not_supported",
0635     "warn_no_master_info",
0636     "warn_option_ignored",
0637     "er_plugin_delete_builtin",
0638     "warn_plugin_busy",
0639     "er_variable_is_readonly",
0640     "er_warn_engine_transaction_rollback",
0641     "er_slave_heartbeat_failure",
0642     "er_slave_heartbeat_value_out_of_range",
0643     nullptr,
0644     "er_conflict_fn_parse_error",
0645     "er_exceptions_write_error",
0646     "er_too_long_table_comment",
0647     "er_too_long_field_comment",
0648     "er_func_inexistent_name_collision",
0649     "er_database_name",
0650     "er_table_name",
0651     "er_partition_name",
0652     "er_subpartition_name",
0653     "er_temporary_name",
0654     "er_renamed_name",
0655     "er_too_many_concurrent_trxs",
0656     "warn_non_ascii_separator_not_implemented",
0657     "er_debug_sync_timeout",
0658     "er_debug_sync_hit_limit",
0659     "er_dup_signal_set",
0660     "er_signal_warn",
0661     "er_signal_not_found",
0662     "er_signal_exception",
0663     "er_resignal_without_active_handler",
0664     "er_signal_bad_condition_type",
0665     "warn_cond_item_truncated",
0666     "er_cond_item_too_long",
0667     "er_unknown_locale",
0668     "er_slave_ignore_server_ids",
0669     "er_query_cache_disabled",
0670     "er_same_name_partition_field",
0671     "er_partition_column_list_error",
0672     "er_wrong_type_column_value_error",
0673     "er_too_many_partition_func_fields_error",
0674     "er_maxvalue_in_values_in",
0675     "er_too_many_values_error",
0676     "er_row_single_partition_field_error",
0677     "er_field_type_not_allowed_as_partition_field",
0678     "er_partition_fields_too_long",
0679     "er_binlog_row_engine_and_stmt_engine",
0680     "er_binlog_row_mode_and_stmt_engine",
0681     "er_binlog_unsafe_and_stmt_engine",
0682     "er_binlog_row_injection_and_stmt_engine",
0683     "er_binlog_stmt_mode_and_row_engine",
0684     "er_binlog_row_injection_and_stmt_mode",
0685     "er_binlog_multiple_engines_and_self_logging_engine",
0686     "er_binlog_unsafe_limit",
0687     nullptr,
0688     "er_binlog_unsafe_system_table",
0689     "er_binlog_unsafe_autoinc_columns",
0690     "er_binlog_unsafe_udf",
0691     "er_binlog_unsafe_system_variable",
0692     "er_binlog_unsafe_system_function",
0693     "er_binlog_unsafe_nontrans_after_trans",
0694     "er_message_and_statement",
0695     "er_slave_conversion_failed",
0696     "er_slave_cant_create_conversion",
0697     "er_inside_transaction_prevents_switch_binlog_format",
0698     "er_path_length",
0699     "er_warn_deprecated_syntax_no_replacement",
0700     "er_wrong_native_table_structure",
0701     "er_wrong_perfschema_usage",
0702     "er_warn_i_s_skipped_table",
0703     "er_inside_transaction_prevents_switch_binlog_direct",
0704     "er_stored_function_prevents_switch_binlog_direct",
0705     "er_spatial_must_have_geom_col",
0706     "er_too_long_index_comment",
0707     "er_lock_aborted",
0708     "er_data_out_of_range",
0709     "er_wrong_spvar_type_in_limit",
0710     "er_binlog_unsafe_multiple_engines_and_self_logging_engine",
0711     "er_binlog_unsafe_mixed_statement",
0712     "er_inside_transaction_prevents_switch_sql_log_bin",
0713     "er_stored_function_prevents_switch_sql_log_bin",
0714     "er_failed_read_from_par_file",
0715     "er_values_is_not_int_type_error",
0716     "er_access_denied_no_password_error",
0717     "er_set_password_auth_plugin",
0718     "er_grant_plugin_user_exists",
0719     "er_truncate_illegal_fk",
0720     "er_plugin_is_permanent",
0721     "er_slave_heartbeat_value_out_of_range_min",
0722     "er_slave_heartbeat_value_out_of_range_max",
0723     "er_stmt_cache_full",
0724     "er_multi_update_key_conflict",
0725     "er_table_needs_rebuild",
0726     "warn_option_below_limit",
0727     "er_index_column_too_long",
0728     "er_error_in_trigger_body",
0729     "er_error_in_unknown_trigger_body",
0730     "er_index_corrupt",
0731     "er_undo_record_too_big",
0732     "er_binlog_unsafe_insert_ignore_select",
0733     "er_binlog_unsafe_insert_select_update",
0734     "er_binlog_unsafe_replace_select",
0735     "er_binlog_unsafe_create_ignore_select",
0736     "er_binlog_unsafe_create_replace_select",
0737     "er_binlog_unsafe_update_ignore",
0738     nullptr,
0739     nullptr,
0740     "er_binlog_unsafe_write_autoinc_select",
0741     "er_binlog_unsafe_create_select_autoinc",
0742     "er_binlog_unsafe_insert_two_keys",
0743     nullptr,
0744     nullptr,
0745     "er_binlog_unsafe_autoinc_not_first",
0746     "er_cannot_load_from_table_v2",
0747     "er_master_delay_value_out_of_range",
0748     "er_only_fd_and_rbr_events_allowed_in_binlog_statement",
0749     "er_partition_exchange_different_option",
0750     "er_partition_exchange_part_table",
0751     "er_partition_exchange_temp_table",
0752     "er_partition_instead_of_subpartition",
0753     "er_unknown_partition",
0754     "er_tables_different_metadata",
0755     "er_row_does_not_match_partition",
0756     "er_binlog_cache_size_greater_than_max",
0757     "er_warn_index_not_applicable",
0758     "er_partition_exchange_foreign_key",
0759     "er_no_such_key_value",
0760     nullptr,
0761     "er_network_read_event_checksum_failure",
0762     "er_binlog_read_event_checksum_failure",
0763     "er_binlog_stmt_cache_size_greater_than_max",
0764     "er_cant_update_table_in_create_table_select",
0765     "er_partition_clause_on_nonpartitioned",
0766     "er_row_does_not_match_given_partition_set",
0767     nullptr,
0768     "er_change_rpl_info_repository_failure",
0769     "er_warning_not_complete_rollback_with_created_temp_table",
0770     "er_warning_not_complete_rollback_with_dropped_temp_table",
0771     "er_mts_feature_is_not_supported",
0772     "er_mts_updated_dbs_greater_max",
0773     "er_mts_cant_parallel",
0774     "er_mts_inconsistent_data",
0775     "er_fulltext_not_supported_with_partitioning",
0776     "er_da_invalid_condition_number",
0777     "er_insecure_plain_text",
0778     "er_insecure_change_master",
0779     "er_foreign_duplicate_key_with_child_info",
0780     "er_foreign_duplicate_key_without_child_info",
0781     "er_sqlthread_with_secure_slave",
0782     "er_table_has_no_ft",
0783     "er_variable_not_settable_in_sf_or_trigger",
0784     "er_variable_not_settable_in_transaction",
0785     "er_gtid_next_is_not_in_gtid_next_list",
0786     nullptr,
0787     "er_set_statement_cannot_invoke_function",
0788     "er_gtid_next_cant_be_automatic_if_gtid_next_list_is_non_null",
0789     "er_skipping_logged_transaction",
0790     "er_malformed_gtid_set_specification",
0791     "er_malformed_gtid_set_encoding",
0792     "er_malformed_gtid_specification",
0793     "er_gno_exhausted",
0794     "er_bad_slave_auto_position",
0795     nullptr,
0796     "er_cant_do_implicit_commit_in_trx_when_gtid_next_is_set",
0797     nullptr,
0798     "er_gtid_mode_requires_binlog",
0799     "er_cant_set_gtid_next_to_gtid_when_gtid_mode_is_off",
0800     "er_cant_set_gtid_next_to_anonymous_when_gtid_mode_is_on",
0801     "er_cant_set_gtid_next_list_to_non_null_when_gtid_mode_is_off",
0802     nullptr,
0803     "er_gtid_unsafe_non_transactional_table",
0804     "er_gtid_unsafe_create_select",
0805     "er_gtid_unsafe_create_drop_temporary_table_in_transaction",
0806     "er_gtid_mode_can_only_change_one_step_at_a_time",
0807     "er_master_has_purged_required_gtids",
0808     "er_cant_set_gtid_next_when_owning_gtid",
0809     "er_unknown_explain_format",
0810     "er_cant_execute_in_read_only_transaction",
0811     "er_too_long_table_partition_comment",
0812     "er_slave_configuration",
0813     "er_innodb_ft_limit",
0814     "er_innodb_no_ft_temp_table",
0815     "er_innodb_ft_wrong_docid_column",
0816     "er_innodb_ft_wrong_docid_index",
0817     "er_innodb_online_log_too_big",
0818     "er_unknown_alter_algorithm",
0819     "er_unknown_alter_lock",
0820     "er_mts_change_master_cant_run_with_gaps",
0821     "er_mts_recovery_failure",
0822     "er_mts_reset_workers",
0823     "er_col_count_doesnt_match_corrupted_v2",
0824     "er_slave_silent_retry_transaction",
0825     nullptr,
0826     "er_table_schema_mismatch",
0827     "er_table_in_system_tablespace",
0828     "er_io_read_error",
0829     "er_io_write_error",
0830     "er_tablespace_missing",
0831     "er_tablespace_exists",
0832     "er_tablespace_discarded",
0833     "er_internal_error",
0834     "er_innodb_import_error",
0835     "er_innodb_index_corrupt",
0836     "er_invalid_year_column_length",
0837     "er_not_valid_password",
0838     "er_must_change_password",
0839     "er_fk_no_index_child",
0840     "er_fk_no_index_parent",
0841     "er_fk_fail_add_system",
0842     "er_fk_cannot_open_parent",
0843     "er_fk_incorrect_option",
0844     nullptr,
0845     "er_password_format",
0846     "er_fk_column_cannot_drop",
0847     "er_fk_column_cannot_drop_child",
0848     "er_fk_column_not_null",
0849     "er_dup_index",
0850     "er_fk_column_cannot_change",
0851     "er_fk_column_cannot_change_child",
0852     nullptr,
0853     "er_malformed_packet",
0854     "er_read_only_mode",
0855     nullptr,
0856     "er_variable_not_settable_in_sp",
0857     "er_cant_set_gtid_purged_when_gtid_mode_is_off",
0858     "er_cant_set_gtid_purged_when_gtid_executed_is_not_empty",
0859     "er_cant_set_gtid_purged_when_owned_gtids_is_not_empty",
0860     "er_gtid_purged_was_changed",
0861     "er_gtid_executed_was_changed",
0862     "er_binlog_stmt_mode_and_no_repl_tables",
0863     "er_alter_operation_not_supported",
0864     "er_alter_operation_not_supported_reason",
0865     "er_alter_operation_not_supported_reason_copy",
0866     "er_alter_operation_not_supported_reason_partition",
0867     "er_alter_operation_not_supported_reason_fk_rename",
0868     "er_alter_operation_not_supported_reason_column_type",
0869     "er_alter_operation_not_supported_reason_fk_check",
0870     nullptr,
0871     "er_alter_operation_not_supported_reason_nopk",
0872     "er_alter_operation_not_supported_reason_autoinc",
0873     "er_alter_operation_not_supported_reason_hidden_fts",
0874     "er_alter_operation_not_supported_reason_change_fts",
0875     "er_alter_operation_not_supported_reason_fts",
0876     "er_sql_slave_skip_counter_not_settable_in_gtid_mode",
0877     "er_dup_unknown_in_index",
0878     "er_ident_causes_too_long_path",
0879     "er_alter_operation_not_supported_reason_not_null",
0880     "er_must_change_password_login",
0881     "er_row_in_wrong_partition",
0882     "er_mts_event_bigger_pending_jobs_size_max",
0883     "er_innodb_no_ft_uses_parser",
0884     "er_binlog_logical_corruption",
0885     "er_warn_purge_log_in_use",
0886     "er_warn_purge_log_is_active",
0887     "er_auto_increment_conflict",
0888     "warn_on_blockhole_in_rbr",
0889     "er_slave_mi_init_repository",
0890     "er_slave_rli_init_repository",
0891     "er_access_denied_change_user_error",
0892     "er_innodb_read_only",
0893     "er_stop_slave_sql_thread_timeout",
0894     "er_stop_slave_io_thread_timeout",
0895     "er_table_corrupt",
0896     "er_temp_file_write_failure",
0897     "er_innodb_ft_aux_not_hex_id",
0898 
0899 };
0900 
0901 const char* boost::mysql::detail::common_error_to_string(int v) noexcept
0902 {
0903     constexpr int first = 1000;
0904     constexpr int last = first + sizeof(common_error_messages) / sizeof(const char*);
0905     return (v >= first && v < last) ? common_error_messages[v - first] : nullptr;
0906 }
0907 
0908 const char* boost::mysql::detail::mysql_error_to_string(int v) noexcept
0909 {
0910     switch (v)
0911     {
0912     case 1076: return "er_ready";
0913     case 1101: return "er_blob_cant_have_default";
0914     case 1120: return "er_wrong_outer_join_unused";
0915     case 1176: return "er_key_does_not_exits";
0916     case 1185: return "er_dump_not_implemented";
0917     case 1349: return "er_view_select_derived_unused";
0918     case 1487: return "er_no_const_expr_in_range_or_list_error";
0919     case 1506: return "er_foreign_key_on_partitioned";
0920     case 1547: return "er_obsolete_col_count_doesnt_match_corrupted";
0921     case 1548: return "er_obsolete_cannot_load_from_table";
0922     case 1557: return "er_foreign_duplicate_key_old_unused";
0923     case 1561: return "er_ndb_cant_switch_binlog_format";
0924     case 1593: return "er_binlog_fatal_error";
0925     case 1608: return "er_never_used";
0926     case 1611: return "er_load_data_invalid_column_unused";
0927     case 1625: return "er_ndb_replication_schema_error";
0928     case 1720: return "er_plugin_no_uninstall";
0929     case 1721: return "er_plugin_no_install";
0930     case 1725: return "er_table_in_fk_check";
0931     case 1726: return "er_unsupported_engine";
0932     case 1742: return "er_rpl_info_data_too_long";
0933     case 1749: return "er_no_such_partition__unused";
0934     case 1768: return "er_cant_change_gtid_next_in_transaction";
0935     case 1777: return "er_auto_position_requires_gtid_mode_not_off";
0936     case 1779: return "er_gtid_mode_on_requires_enforce_gtid_consistency_on";
0937     case 1784: return "er_found_gtid_event_when_gtid_mode_is_off__unused";
0938     case 1807: return "er_discard_fk_checks_running";
0939     case 1826: return "er_fk_dup_name";
0940     case 1837: return "er_gtid_next_type_undefined_gtid";
0941     case 1880: return "er_old_temporals_upgraded";
0942     case 1881: return "er_innodb_forced_recovery";
0943     case 1882: return "er_aes_invalid_iv";
0944     case 1883: return "er_plugin_cannot_be_uninstalled";
0945     case 1884: return "er_gtid_unsafe_binlog_splittable_statement_and_assigned_gtid";
0946     case 1885: return "er_slave_has_more_gtids_than_master";
0947     case 1886: return "er_missing_key";
0948     case 1887: return "warn_named_pipe_access_everyone";
0949     case 1888: return "er_found_missing_gtids";
0950     case 3000: return "er_file_corrupt";
0951     case 3001: return "er_error_on_master";
0952     case 3002: return "er_inconsistent_error";
0953     case 3003: return "er_storage_engine_not_loaded";
0954     case 3004: return "er_get_stacked_da_without_active_handler";
0955     case 3005: return "er_warn_legacy_syntax_converted";
0956     case 3006: return "er_binlog_unsafe_fulltext_plugin";
0957     case 3007: return "er_cannot_discard_temporary_table";
0958     case 3008: return "er_fk_depth_exceeded";
0959     case 3009: return "er_col_count_doesnt_match_please_update_v2";
0960     case 3010: return "er_warn_trigger_doesnt_have_created";
0961     case 3011: return "er_referenced_trg_does_not_exist";
0962     case 3012: return "er_explain_not_supported";
0963     case 3013: return "er_invalid_field_size";
0964     case 3014: return "er_missing_ha_create_option";
0965     case 3015: return "er_engine_out_of_memory";
0966     case 3016: return "er_password_expire_anonymous_user";
0967     case 3017: return "er_slave_sql_thread_must_stop";
0968     case 3018: return "er_no_ft_materialized_subquery";
0969     case 3019: return "er_innodb_undo_log_full";
0970     case 3020: return "er_invalid_argument_for_logarithm";
0971     case 3021: return "er_slave_channel_io_thread_must_stop";
0972     case 3022: return "er_warn_open_temp_tables_must_be_zero";
0973     case 3023: return "er_warn_only_master_log_file_no_pos";
0974     case 3024: return "er_query_timeout";
0975     case 3025: return "er_non_ro_select_disable_timer";
0976     case 3026: return "er_dup_list_entry";
0977     case 3027: return "er_sql_mode_no_effect";
0978     case 3028: return "er_aggregate_order_for_union";
0979     case 3029: return "er_aggregate_order_non_agg_query";
0980     case 3030: return "er_slave_worker_stopped_previous_thd_error";
0981     case 3031: return "er_dont_support_slave_preserve_commit_order";
0982     case 3032: return "er_server_offline_mode";
0983     case 3033: return "er_gis_different_srids";
0984     case 3034: return "er_gis_unsupported_argument";
0985     case 3035: return "er_gis_unknown_error";
0986     case 3036: return "er_gis_unknown_exception";
0987     case 3037: return "er_gis_invalid_data";
0988     case 3038: return "er_boost_geometry_empty_input_exception";
0989     case 3039: return "er_boost_geometry_centroid_exception";
0990     case 3040: return "er_boost_geometry_overlay_invalid_input_exception";
0991     case 3041: return "er_boost_geometry_turn_info_exception";
0992     case 3042: return "er_boost_geometry_self_intersection_point_exception";
0993     case 3043: return "er_boost_geometry_unknown_exception";
0994     case 3044: return "er_std_bad_alloc_error";
0995     case 3045: return "er_std_domain_error";
0996     case 3046: return "er_std_length_error";
0997     case 3047: return "er_std_invalid_argument";
0998     case 3048: return "er_std_out_of_range_error";
0999     case 3049: return "er_std_overflow_error";
1000     case 3050: return "er_std_range_error";
1001     case 3051: return "er_std_underflow_error";
1002     case 3052: return "er_std_logic_error";
1003     case 3053: return "er_std_runtime_error";
1004     case 3054: return "er_std_unknown_exception";
1005     case 3055: return "er_gis_data_wrong_endianess";
1006     case 3056: return "er_change_master_password_length";
1007     case 3057: return "er_user_lock_wrong_name";
1008     case 3058: return "er_user_lock_deadlock";
1009     case 3059: return "er_replace_inaccessible_rows";
1010     case 3060: return "er_alter_operation_not_supported_reason_gis";
1011     case 3061: return "er_illegal_user_var";
1012     case 3062: return "er_gtid_mode_off";
1013     case 3063: return "er_unsupported_by_replication_thread";
1014     case 3064: return "er_incorrect_type";
1015     case 3065: return "er_field_in_order_not_select";
1016     case 3066: return "er_aggregate_in_order_not_select";
1017     case 3067: return "er_invalid_rpl_wild_table_filter_pattern";
1018     case 3068: return "er_net_ok_packet_too_large";
1019     case 3069: return "er_invalid_json_data";
1020     case 3070: return "er_invalid_geojson_missing_member";
1021     case 3071: return "er_invalid_geojson_wrong_type";
1022     case 3072: return "er_invalid_geojson_unspecified";
1023     case 3073: return "er_dimension_unsupported";
1024     case 3074: return "er_slave_channel_does_not_exist";
1025     case 3075: return "er_slave_multiple_channels_host_port";
1026     case 3076: return "er_slave_channel_name_invalid_or_too_long";
1027     case 3077: return "er_slave_new_channel_wrong_repository";
1028     case 3078: return "er_slave_channel_delete";
1029     case 3079: return "er_slave_multiple_channels_cmd";
1030     case 3080: return "er_slave_max_channels_exceeded";
1031     case 3081: return "er_slave_channel_must_stop";
1032     case 3082: return "er_slave_channel_not_running";
1033     case 3083: return "er_slave_channel_was_running";
1034     case 3084: return "er_slave_channel_was_not_running";
1035     case 3085: return "er_slave_channel_sql_thread_must_stop";
1036     case 3086: return "er_slave_channel_sql_skip_counter";
1037     case 3087: return "er_wrong_field_with_group_v2";
1038     case 3088: return "er_mix_of_group_func_and_fields_v2";
1039     case 3089: return "er_warn_deprecated_sysvar_update";
1040     case 3090: return "er_warn_deprecated_sqlmode";
1041     case 3091: return "er_cannot_log_partial_drop_database_with_gtid";
1042     case 3092: return "er_group_replication_configuration";
1043     case 3093: return "er_group_replication_running";
1044     case 3094: return "er_group_replication_applier_init_error";
1045     case 3095: return "er_group_replication_stop_applier_thread_timeout";
1046     case 3096: return "er_group_replication_communication_layer_session_error";
1047     case 3097: return "er_group_replication_communication_layer_join_error";
1048     case 3098: return "er_before_dml_validation_error";
1049     case 3099: return "er_prevents_variable_without_rbr";
1050     case 3100: return "er_run_hook_error";
1051     case 3101: return "er_transaction_rollback_during_commit";
1052     case 3102: return "er_generated_column_function_is_not_allowed";
1053     case 3103: return "er_unsupported_alter_inplace_on_virtual_column";
1054     case 3104: return "er_wrong_fk_option_for_generated_column";
1055     case 3105: return "er_non_default_value_for_generated_column";
1056     case 3106: return "er_unsupported_action_on_generated_column";
1057     case 3107: return "er_generated_column_non_prior";
1058     case 3108: return "er_dependent_by_generated_column";
1059     case 3109: return "er_generated_column_ref_auto_inc";
1060     case 3110: return "er_feature_not_available";
1061     case 3111: return "er_cant_set_gtid_mode";
1062     case 3112: return "er_cant_use_auto_position_with_gtid_mode_off";
1063     case 3113: return "er_cant_replicate_anonymous_with_auto_position";
1064     case 3114: return "er_cant_replicate_anonymous_with_gtid_mode_on";
1065     case 3115: return "er_cant_replicate_gtid_with_gtid_mode_off";
1066     case 3116: return "er_cant_enforce_gtid_consistency_with_ongoing_gtid_violating_tx";
1067     case 3117: return "er_enforce_gtid_consistency_warn_with_ongoing_gtid_violating_tx";
1068     case 3118: return "er_account_has_been_locked";
1069     case 3119: return "er_wrong_tablespace_name";
1070     case 3120: return "er_tablespace_is_not_empty";
1071     case 3121: return "er_wrong_file_name";
1072     case 3122: return "er_boost_geometry_inconsistent_turns_exception";
1073     case 3123: return "er_warn_optimizer_hint_syntax_error";
1074     case 3124: return "er_warn_bad_max_execution_time";
1075     case 3125: return "er_warn_unsupported_max_execution_time";
1076     case 3126: return "er_warn_conflicting_hint";
1077     case 3127: return "er_warn_unknown_qb_name";
1078     case 3128: return "er_unresolved_hint_name";
1079     case 3129: return "er_warn_on_modifying_gtid_executed_table";
1080     case 3130: return "er_pluggable_protocol_command_not_supported";
1081     case 3131: return "er_locking_service_wrong_name";
1082     case 3132: return "er_locking_service_deadlock";
1083     case 3133: return "er_locking_service_timeout";
1084     case 3134: return "er_gis_max_points_in_geometry_overflowed";
1085     case 3135: return "er_sql_mode_merged";
1086     case 3136: return "er_vtoken_plugin_token_mismatch";
1087     case 3137: return "er_vtoken_plugin_token_not_found";
1088     case 3138: return "er_cant_set_variable_when_owning_gtid";
1089     case 3139: return "er_slave_channel_operation_not_allowed";
1090     case 3140: return "er_invalid_json_text";
1091     case 3141: return "er_invalid_json_text_in_param";
1092     case 3142: return "er_invalid_json_binary_data";
1093     case 3143: return "er_invalid_json_path";
1094     case 3144: return "er_invalid_json_charset";
1095     case 3145: return "er_invalid_json_charset_in_function";
1096     case 3146: return "er_invalid_type_for_json";
1097     case 3147: return "er_invalid_cast_to_json";
1098     case 3148: return "er_invalid_json_path_charset";
1099     case 3149: return "er_invalid_json_path_wildcard";
1100     case 3150: return "er_json_value_too_big";
1101     case 3151: return "er_json_key_too_big";
1102     case 3152: return "er_json_used_as_key";
1103     case 3153: return "er_json_vacuous_path";
1104     case 3154: return "er_json_bad_one_or_all_arg";
1105     case 3155: return "er_numeric_json_value_out_of_range";
1106     case 3156: return "er_invalid_json_value_for_cast";
1107     case 3157: return "er_json_document_too_deep";
1108     case 3158: return "er_json_document_null_key";
1109     case 3159: return "er_secure_transport_required";
1110     case 3160: return "er_no_secure_transports_configured";
1111     case 3161: return "er_disabled_storage_engine";
1112     case 3162: return "er_user_does_not_exist";
1113     case 3163: return "er_user_already_exists";
1114     case 3164: return "er_audit_api_abort";
1115     case 3165: return "er_invalid_json_path_array_cell";
1116     case 3166: return "er_bufpool_resize_inprogress";
1117     case 3167: return "er_feature_disabled_see_doc";
1118     case 3168: return "er_server_isnt_available";
1119     case 3169: return "er_session_was_killed";
1120     case 3170: return "er_capacity_exceeded";
1121     case 3171: return "er_capacity_exceeded_in_range_optimizer";
1122     case 3172: return "er_table_needs_upg_part";
1123     case 3173: return "er_cant_wait_for_executed_gtid_set_while_owning_a_gtid";
1124     case 3174: return "er_cannot_add_foreign_base_col_virtual";
1125     case 3175: return "er_cannot_create_virtual_index_constraint";
1126     case 3176: return "er_error_on_modifying_gtid_executed_table";
1127     case 3177: return "er_lock_refused_by_engine";
1128     case 3178: return "er_unsupported_alter_online_on_virtual_column";
1129     case 3179: return "er_master_key_rotation_not_supported_by_se";
1130     case 3180: return "er_master_key_rotation_error_by_se";
1131     case 3181: return "er_master_key_rotation_binlog_failed";
1132     case 3182: return "er_master_key_rotation_se_unavailable";
1133     case 3183: return "er_tablespace_cannot_encrypt";
1134     case 3184: return "er_invalid_encryption_option";
1135     case 3185: return "er_cannot_find_key_in_keyring";
1136     case 3186: return "er_capacity_exceeded_in_parser";
1137     case 3187: return "er_unsupported_alter_encryption_inplace";
1138     case 3188: return "er_keyring_udf_keyring_service_error";
1139     case 3189: return "er_user_column_old_length";
1140     case 3190: return "er_cant_reset_master";
1141     case 3191: return "er_group_replication_max_group_size";
1142     case 3192: return "er_cannot_add_foreign_base_col_stored";
1143     case 3193: return "er_table_referenced";
1144     case 3194: return "er_partition_engine_deprecated_for_table";
1145     case 3195: return "er_warn_using_geomfromwkb_to_set_srid_zero";
1146     case 3196: return "er_warn_using_geomfromwkb_to_set_srid";
1147     case 3197: return "er_xa_retry";
1148     case 3198: return "er_keyring_aws_udf_aws_kms_error";
1149     case 3199: return "er_binlog_unsafe_xa";
1150     case 3200: return "er_udf_error";
1151     case 3201: return "er_keyring_migration_failure";
1152     case 3202: return "er_keyring_access_denied_error";
1153     case 3203: return "er_keyring_migration_status";
1154     case 3204: return "er_plugin_failed_to_open_tables";
1155     case 3205: return "er_plugin_failed_to_open_table";
1156     case 3206: return "er_audit_log_no_keyring_plugin_installed";
1157     case 3207: return "er_audit_log_encryption_password_has_not_been_set";
1158     case 3208: return "er_audit_log_could_not_create_aes_key";
1159     case 3209: return "er_audit_log_encryption_password_cannot_be_fetched";
1160     case 3210: return "er_audit_log_json_filtering_not_enabled";
1161     case 3211: return "er_audit_log_udf_insufficient_privilege";
1162     case 3212: return "er_audit_log_super_privilege_required";
1163     case 3213: return "er_could_not_reinitialize_audit_log_filters";
1164     case 3214: return "er_audit_log_udf_invalid_argument_type";
1165     case 3215: return "er_audit_log_udf_invalid_argument_count";
1166     case 3216: return "er_audit_log_has_not_been_installed";
1167     case 3217: return "er_audit_log_udf_read_invalid_max_array_length_arg_type";
1168     case 3218: return "er_audit_log_udf_read_invalid_max_array_length_arg_value";
1169     case 3219: return "er_audit_log_json_filter_parsing_error";
1170     case 3220: return "er_audit_log_json_filter_name_cannot_be_empty";
1171     case 3221: return "er_audit_log_json_user_name_cannot_be_empty";
1172     case 3222: return "er_audit_log_json_filter_does_not_exists";
1173     case 3223: return "er_audit_log_user_first_character_must_be_alphanumeric";
1174     case 3224: return "er_audit_log_user_name_invalid_character";
1175     case 3225: return "er_audit_log_host_name_invalid_character";
1176     case 3226: return "obsolete_warn_deprecated_maxdb_sql_mode_for_timestamp";
1177     case 3228: return "er_cant_open_error_log";
1178     case 3230: return "er_cant_start_server_named_pipe";
1179     case 3231: return "er_write_set_exceeds_limit";
1180     case 3232: return "er_deprecated_tls_version_session";
1181     case 3233: return "er_warn_deprecated_tls_version";
1182     case 3234: return "er_warn_wrong_native_table_structure";
1183     case 3235: return "er_aes_invalid_kdf_name";
1184     case 3236: return "er_aes_invalid_kdf_iterations";
1185     case 3237: return "warn_aes_key_size";
1186     case 3238: return "er_aes_invalid_kdf_option_size";
1187     case 3500: return "er_unsupport_compressed_temporary_table";
1188     case 3501: return "er_acl_operation_failed";
1189     case 3502: return "er_unsupported_index_algorithm";
1190     case 3503: return "er_no_such_db";
1191     case 3504: return "er_too_big_enum";
1192     case 3505: return "er_too_long_set_enum_value";
1193     case 3506: return "er_invalid_dd_object";
1194     case 3507: return "er_updating_dd_table";
1195     case 3508: return "er_invalid_dd_object_id";
1196     case 3509: return "er_invalid_dd_object_name";
1197     case 3510: return "er_tablespace_missing_with_name";
1198     case 3511: return "er_too_long_routine_comment";
1199     case 3512: return "er_sp_load_failed";
1200     case 3513: return "er_invalid_bitwise_operands_size";
1201     case 3514: return "er_invalid_bitwise_aggregate_operands_size";
1202     case 3515: return "er_warn_unsupported_hint";
1203     case 3516: return "er_unexpected_geometry_type";
1204     case 3517: return "er_srs_parse_error";
1205     case 3518: return "er_srs_proj_parameter_missing";
1206     case 3519: return "er_warn_srs_not_found";
1207     case 3520: return "er_srs_not_cartesian";
1208     case 3521: return "er_srs_not_cartesian_undefined";
1209     case 3522: return "er_pk_index_cant_be_invisible";
1210     case 3523: return "er_unknown_authid";
1211     case 3524: return "er_failed_role_grant";
1212     case 3525: return "er_open_role_tables";
1213     case 3526: return "er_failed_default_roles";
1214     case 3527: return "er_components_no_scheme";
1215     case 3528: return "er_components_no_scheme_service";
1216     case 3529: return "er_components_cant_load";
1217     case 3530: return "er_role_not_granted";
1218     case 3531: return "er_failed_revoke_role";
1219     case 3532: return "er_rename_role";
1220     case 3533: return "er_components_cant_acquire_service_implementation";
1221     case 3534: return "er_components_cant_satisfy_dependency";
1222     case 3535: return "er_components_load_cant_register_service_implementation";
1223     case 3536: return "er_components_load_cant_initialize";
1224     case 3537: return "er_components_unload_not_loaded";
1225     case 3538: return "er_components_unload_cant_deinitialize";
1226     case 3539: return "er_components_cant_release_service";
1227     case 3540: return "er_components_unload_cant_unregister_service";
1228     case 3541: return "er_components_cant_unload";
1229     case 3542: return "er_warn_unload_the_not_persisted";
1230     case 3543: return "er_component_table_incorrect";
1231     case 3544: return "er_component_manipulate_row_failed";
1232     case 3545: return "er_components_unload_duplicate_in_group";
1233     case 3546: return "er_cant_set_gtid_purged_due_sets_constraints";
1234     case 3547: return "er_cannot_lock_user_management_caches";
1235     case 3548: return "er_srs_not_found";
1236     case 3549: return "er_variable_not_persisted";
1237     case 3550: return "er_is_query_invalid_clause";
1238     case 3551: return "er_unable_to_store_statistics";
1239     case 3552: return "er_no_system_schema_access";
1240     case 3553: return "er_no_system_tablespace_access";
1241     case 3554: return "er_no_system_table_access";
1242     case 3555: return "er_no_system_table_access_for_dictionary_table";
1243     case 3556: return "er_no_system_table_access_for_system_table";
1244     case 3557: return "er_no_system_table_access_for_table";
1245     case 3558: return "er_invalid_option_key";
1246     case 3559: return "er_invalid_option_value";
1247     case 3560: return "er_invalid_option_key_value_pair";
1248     case 3561: return "er_invalid_option_start_character";
1249     case 3562: return "er_invalid_option_end_character";
1250     case 3563: return "er_invalid_option_characters";
1251     case 3564: return "er_duplicate_option_key";
1252     case 3565: return "er_warn_srs_not_found_axis_order";
1253     case 3566: return "er_no_access_to_native_fct";
1254     case 3567: return "er_reset_master_to_value_out_of_range";
1255     case 3568: return "er_unresolved_table_lock";
1256     case 3569: return "er_duplicate_table_lock";
1257     case 3570: return "er_binlog_unsafe_skip_locked";
1258     case 3571: return "er_binlog_unsafe_nowait";
1259     case 3572: return "er_lock_nowait";
1260     case 3573: return "er_cte_recursive_requires_union";
1261     case 3574: return "er_cte_recursive_requires_nonrecursive_first";
1262     case 3575: return "er_cte_recursive_forbids_aggregation";
1263     case 3576: return "er_cte_recursive_forbidden_join_order";
1264     case 3577: return "er_cte_recursive_requires_single_reference";
1265     case 3578: return "er_switch_tmp_engine";
1266     case 3579: return "er_window_no_such_window";
1267     case 3580: return "er_window_circularity_in_window_graph";
1268     case 3581: return "er_window_no_child_partitioning";
1269     case 3582: return "er_window_no_inherit_frame";
1270     case 3583: return "er_window_no_redefine_order_by";
1271     case 3584: return "er_window_frame_start_illegal";
1272     case 3585: return "er_window_frame_end_illegal";
1273     case 3586: return "er_window_frame_illegal";
1274     case 3587: return "er_window_range_frame_order_type";
1275     case 3588: return "er_window_range_frame_temporal_type";
1276     case 3589: return "er_window_range_frame_numeric_type";
1277     case 3590: return "er_window_range_bound_not_constant";
1278     case 3591: return "er_window_duplicate_name";
1279     case 3592: return "er_window_illegal_order_by";
1280     case 3593: return "er_window_invalid_window_func_use";
1281     case 3594: return "er_window_invalid_window_func_alias_use";
1282     case 3595: return "er_window_nested_window_func_use_in_window_spec";
1283     case 3596: return "er_window_rows_interval_use";
1284     case 3597: return "er_window_no_group_order_unused";
1285     case 3598: return "er_window_explain_json";
1286     case 3599: return "er_window_function_ignores_frame";
1287     case 3600: return "er_wl9236_now_unused";
1288     case 3601: return "er_invalid_no_of_args";
1289     case 3602: return "er_field_in_grouping_not_group_by";
1290     case 3603: return "er_too_long_tablespace_comment";
1291     case 3604: return "er_engine_cant_drop_table";
1292     case 3605: return "er_engine_cant_drop_missing_table";
1293     case 3606: return "er_tablespace_dup_filename";
1294     case 3607: return "er_db_drop_rmdir2";
1295     case 3608: return "er_imp_no_files_matched";
1296     case 3609: return "er_imp_schema_does_not_exist";
1297     case 3610: return "er_imp_table_already_exists";
1298     case 3611: return "er_imp_incompatible_mysqld_version";
1299     case 3612: return "er_imp_incompatible_dd_version";
1300     case 3613: return "er_imp_incompatible_sdi_version";
1301     case 3614: return "er_warn_invalid_hint";
1302     case 3615: return "er_var_does_not_exist";
1303     case 3616: return "er_longitude_out_of_range";
1304     case 3617: return "er_latitude_out_of_range";
1305     case 3618: return "er_not_implemented_for_geographic_srs";
1306     case 3619: return "er_illegal_privilege_level";
1307     case 3620: return "er_no_system_view_access";
1308     case 3621: return "er_component_filter_flabbergasted";
1309     case 3622: return "er_part_expr_too_long";
1310     case 3623: return "er_udf_drop_dynamically_registered";
1311     case 3624: return "er_unable_to_store_column_statistics";
1312     case 3625: return "er_unable_to_update_column_statistics";
1313     case 3626: return "er_unable_to_drop_column_statistics";
1314     case 3627: return "er_unable_to_build_histogram";
1315     case 3628: return "er_mandatory_role";
1316     case 3629: return "er_missing_tablespace_file";
1317     case 3630: return "er_persist_only_access_denied_error";
1318     case 3631: return "er_cmd_need_super";
1319     case 3632: return "er_path_in_datadir";
1320     case 3633: return "er_clone_ddl_in_progress";
1321     case 3634: return "er_clone_too_many_concurrent_clones";
1322     case 3635: return "er_applier_log_event_validation_error";
1323     case 3636: return "er_cte_max_recursion_depth";
1324     case 3637: return "er_not_hint_updatable_variable";
1325     case 3638: return "er_credentials_contradict_to_history";
1326     case 3639: return "er_warning_password_history_clauses_void";
1327     case 3640: return "er_client_does_not_support";
1328     case 3641: return "er_i_s_skipped_tablespace";
1329     case 3642: return "er_tablespace_engine_mismatch";
1330     case 3643: return "er_wrong_srid_for_column";
1331     case 3644: return "er_cannot_alter_srid_due_to_index";
1332     case 3645: return "er_warn_binlog_partial_updates_disabled";
1333     case 3646: return "er_warn_binlog_v1_row_events_disabled";
1334     case 3647: return "er_warn_binlog_partial_updates_suggests_partial_images";
1335     case 3648: return "er_could_not_apply_json_diff";
1336     case 3649: return "er_corrupted_json_diff";
1337     case 3650: return "er_resource_group_exists";
1338     case 3651: return "er_resource_group_not_exists";
1339     case 3652: return "er_invalid_vcpu_id";
1340     case 3653: return "er_invalid_vcpu_range";
1341     case 3654: return "er_invalid_thread_priority";
1342     case 3655: return "er_disallowed_operation";
1343     case 3656: return "er_resource_group_busy";
1344     case 3657: return "er_resource_group_disabled";
1345     case 3658: return "er_feature_unsupported";
1346     case 3659: return "er_attribute_ignored";
1347     case 3660: return "er_invalid_thread_id";
1348     case 3661: return "er_resource_group_bind_failed";
1349     case 3662: return "er_invalid_use_of_force_option";
1350     case 3663: return "er_group_replication_command_failure";
1351     case 3664: return "er_sdi_operation_failed";
1352     case 3665: return "er_missing_json_table_value";
1353     case 3666: return "er_wrong_json_table_value";
1354     case 3667: return "er_tf_must_have_alias";
1355     case 3668: return "er_tf_forbidden_join_type";
1356     case 3669: return "er_jt_value_out_of_range";
1357     case 3670: return "er_jt_max_nested_path";
1358     case 3671: return "er_password_expiration_not_supported_by_auth_method";
1359     case 3672: return "er_invalid_geojson_crs_not_top_level";
1360     case 3673: return "er_bad_null_error_not_ignored";
1361     case 3674: return "warn_useless_spatial_index";
1362     case 3675: return "er_disk_full_nowait";
1363     case 3676: return "er_parse_error_in_digest_fn";
1364     case 3677: return "er_undisclosed_parse_error_in_digest_fn";
1365     case 3678: return "er_schema_dir_exists";
1366     case 3679: return "er_schema_dir_missing";
1367     case 3680: return "er_schema_dir_create_failed";
1368     case 3681: return "er_schema_dir_unknown";
1369     case 3682: return "er_only_implemented_for_srid_0_and_4326";
1370     case 3683: return "er_binlog_expire_log_days_and_secs_used_together";
1371     case 3684: return "er_regexp_buffer_overflow";
1372     case 3685: return "er_regexp_illegal_argument";
1373     case 3686: return "er_regexp_index_outofbounds_error";
1374     case 3687: return "er_regexp_internal_error";
1375     case 3688: return "er_regexp_rule_syntax";
1376     case 3689: return "er_regexp_bad_escape_sequence";
1377     case 3690: return "er_regexp_unimplemented";
1378     case 3691: return "er_regexp_mismatched_paren";
1379     case 3692: return "er_regexp_bad_interval";
1380     case 3693: return "er_regexp_max_lt_min";
1381     case 3694: return "er_regexp_invalid_back_ref";
1382     case 3695: return "er_regexp_look_behind_limit";
1383     case 3696: return "er_regexp_missing_close_bracket";
1384     case 3697: return "er_regexp_invalid_range";
1385     case 3698: return "er_regexp_stack_overflow";
1386     case 3699: return "er_regexp_time_out";
1387     case 3700: return "er_regexp_pattern_too_big";
1388     case 3701: return "er_cant_set_error_log_service";
1389     case 3702: return "er_empty_pipeline_for_error_log_service";
1390     case 3703: return "er_component_filter_diagnostics";
1391     case 3704: return "er_not_implemented_for_cartesian_srs";
1392     case 3705: return "er_not_implemented_for_projected_srs";
1393     case 3706: return "er_nonpositive_radius";
1394     case 3707: return "er_restart_server_failed";
1395     case 3708: return "er_srs_missing_mandatory_attribute";
1396     case 3709: return "er_srs_multiple_attribute_definitions";
1397     case 3710: return "er_srs_name_cant_be_empty_or_whitespace";
1398     case 3711: return "er_srs_organization_cant_be_empty_or_whitespace";
1399     case 3712: return "er_srs_id_already_exists";
1400     case 3713: return "er_warn_srs_id_already_exists";
1401     case 3714: return "er_cant_modify_srid_0";
1402     case 3715: return "er_warn_reserved_srid_range";
1403     case 3716: return "er_cant_modify_srs_used_by_column";
1404     case 3717: return "er_srs_invalid_character_in_attribute";
1405     case 3718: return "er_srs_attribute_string_too_long";
1406     case 3719: return "er_deprecated_utf8_alias";
1407     case 3720: return "er_deprecated_national";
1408     case 3721: return "er_invalid_default_utf8mb4_collation";
1409     case 3722: return "er_unable_to_collect_log_status";
1410     case 3723: return "er_reserved_tablespace_name";
1411     case 3724: return "er_unable_to_set_option";
1412     case 3725: return "er_slave_possibly_diverged_after_ddl";
1413     case 3726: return "er_srs_not_geographic";
1414     case 3727: return "er_polygon_too_large";
1415     case 3728: return "er_spatial_unique_index";
1416     case 3729: return "er_index_type_not_supported_for_spatial_index";
1417     case 3730: return "er_fk_cannot_drop_parent";
1418     case 3731: return "er_geometry_param_longitude_out_of_range";
1419     case 3732: return "er_geometry_param_latitude_out_of_range";
1420     case 3733: return "er_fk_cannot_use_virtual_column";
1421     case 3734: return "er_fk_no_column_parent";
1422     case 3735: return "er_cant_set_error_suppression_list";
1423     case 3736: return "er_srs_geogcs_invalid_axes";
1424     case 3737: return "er_srs_invalid_semi_major_axis";
1425     case 3738: return "er_srs_invalid_inverse_flattening";
1426     case 3739: return "er_srs_invalid_angular_unit";
1427     case 3740: return "er_srs_invalid_prime_meridian";
1428     case 3741: return "er_transform_source_srs_not_supported";
1429     case 3742: return "er_transform_target_srs_not_supported";
1430     case 3743: return "er_transform_source_srs_missing_towgs84";
1431     case 3744: return "er_transform_target_srs_missing_towgs84";
1432     case 3745: return "er_temp_table_prevents_switch_session_binlog_format";
1433     case 3746: return "er_temp_table_prevents_switch_global_binlog_format";
1434     case 3747: return "er_running_applier_prevents_switch_global_binlog_format";
1435     case 3748: return "er_client_gtid_unsafe_create_drop_temp_table_in_trx_in_sbr";
1436     case 3750: return "er_table_without_pk";
1437     case 3751: return "er_warn_data_truncated_functional_index";
1438     case 3752: return "er_warn_data_out_of_range_functional_index";
1439     case 3753: return "er_functional_index_on_json_or_geometry_function";
1440     case 3754: return "er_functional_index_ref_auto_increment";
1441     case 3755: return "er_cannot_drop_column_functional_index";
1442     case 3756: return "er_functional_index_primary_key";
1443     case 3757: return "er_functional_index_on_lob";
1444     case 3758: return "er_functional_index_function_is_not_allowed";
1445     case 3759: return "er_fulltext_functional_index";
1446     case 3760: return "er_spatial_functional_index";
1447     case 3761: return "er_wrong_key_column_functional_index";
1448     case 3762: return "er_functional_index_on_field";
1449     case 3763: return "er_generated_column_named_function_is_not_allowed";
1450     case 3764: return "er_generated_column_row_value";
1451     case 3765: return "er_generated_column_variables";
1452     case 3766: return "er_dependent_by_default_generated_value";
1453     case 3767: return "er_default_val_generated_non_prior";
1454     case 3768: return "er_default_val_generated_ref_auto_inc";
1455     case 3769: return "er_default_val_generated_function_is_not_allowed";
1456     case 3770: return "er_default_val_generated_named_function_is_not_allowed";
1457     case 3771: return "er_default_val_generated_row_value";
1458     case 3772: return "er_default_val_generated_variables";
1459     case 3773: return "er_default_as_val_generated";
1460     case 3774: return "er_unsupported_action_on_default_val_generated";
1461     case 3775: return "er_gtid_unsafe_alter_add_col_with_default_expression";
1462     case 3776: return "er_fk_cannot_change_engine";
1463     case 3777: return "er_warn_deprecated_user_set_expr";
1464     case 3778: return "er_warn_deprecated_utf8mb3_collation";
1465     case 3779: return "er_warn_deprecated_nested_comment_syntax";
1466     case 3780: return "er_fk_incompatible_columns";
1467     case 3781: return "er_gr_hold_wait_timeout";
1468     case 3782: return "er_gr_hold_killed";
1469     case 3783: return "er_gr_hold_member_status_error";
1470     case 3784: return "er_rpl_encryption_failed_to_fetch_key";
1471     case 3785: return "er_rpl_encryption_key_not_found";
1472     case 3786: return "er_rpl_encryption_keyring_invalid_key";
1473     case 3787: return "er_rpl_encryption_header_error";
1474     case 3788: return "er_rpl_encryption_failed_to_rotate_logs";
1475     case 3789: return "er_rpl_encryption_key_exists_unexpected";
1476     case 3790: return "er_rpl_encryption_failed_to_generate_key";
1477     case 3791: return "er_rpl_encryption_failed_to_store_key";
1478     case 3792: return "er_rpl_encryption_failed_to_remove_key";
1479     case 3793: return "er_rpl_encryption_unable_to_change_option";
1480     case 3794: return "er_rpl_encryption_master_key_recovery_failed";
1481     case 3795: return "er_slow_log_mode_ignored_when_not_logging_to_file";
1482     case 3796: return "er_grp_trx_consistency_not_allowed";
1483     case 3797: return "er_grp_trx_consistency_before";
1484     case 3798: return "er_grp_trx_consistency_after_on_trx_begin";
1485     case 3799: return "er_grp_trx_consistency_begin_not_allowed";
1486     case 3800: return "er_functional_index_row_value_is_not_allowed";
1487     case 3801: return "er_rpl_encryption_failed_to_encrypt";
1488     case 3802: return "er_page_tracking_not_started";
1489     case 3803: return "er_page_tracking_range_not_tracked";
1490     case 3804: return "er_page_tracking_cannot_purge";
1491     case 3805: return "er_rpl_encryption_cannot_rotate_binlog_master_key";
1492     case 3806: return "er_binlog_master_key_recovery_out_of_combination";
1493     case 3807: return "er_binlog_master_key_rotation_fail_to_operate_key";
1494     case 3808: return "er_binlog_master_key_rotation_fail_to_rotate_logs";
1495     case 3809: return "er_binlog_master_key_rotation_fail_to_reencrypt_log";
1496     case 3810: return "er_binlog_master_key_rotation_fail_to_cleanup_unused_keys";
1497     case 3811: return "er_binlog_master_key_rotation_fail_to_cleanup_aux_key";
1498     case 3812: return "er_non_boolean_expr_for_check_constraint";
1499     case 3813: return "er_column_check_constraint_references_other_column";
1500     case 3814: return "er_check_constraint_named_function_is_not_allowed";
1501     case 3815: return "er_check_constraint_function_is_not_allowed";
1502     case 3816: return "er_check_constraint_variables";
1503     case 3817: return "er_check_constraint_row_value";
1504     case 3818: return "er_check_constraint_refers_auto_increment_column";
1505     case 3819: return "er_check_constraint_violated";
1506     case 3820: return "er_check_constraint_refers_unknown_column";
1507     case 3821: return "er_check_constraint_not_found";
1508     case 3822: return "er_check_constraint_dup_name";
1509     case 3823: return "er_check_constraint_clause_using_fk_refer_action_column";
1510     case 3824: return "warn_unencrypted_table_in_encrypted_db";
1511     case 3825: return "er_invalid_encryption_request";
1512     case 3826: return "er_cannot_set_table_encryption";
1513     case 3827: return "er_cannot_set_database_encryption";
1514     case 3828: return "er_cannot_set_tablespace_encryption";
1515     case 3829: return "er_tablespace_cannot_be_encrypted";
1516     case 3830: return "er_tablespace_cannot_be_decrypted";
1517     case 3831: return "er_tablespace_type_unknown";
1518     case 3832: return "er_target_tablespace_unencrypted";
1519     case 3833: return "er_cannot_use_encryption_clause";
1520     case 3834: return "er_invalid_multiple_clauses";
1521     case 3835: return "er_unsupported_use_of_grant_as";
1522     case 3836: return "er_uknown_auth_id_or_access_denied_for_grant_as";
1523     case 3837: return "er_dependent_by_functional_index";
1524     case 3838: return "er_plugin_not_early";
1525     case 3839: return "er_innodb_redo_log_archive_start_subdir_path";
1526     case 3840: return "er_innodb_redo_log_archive_start_timeout";
1527     case 3841: return "er_innodb_redo_log_archive_dirs_invalid";
1528     case 3842: return "er_innodb_redo_log_archive_label_not_found";
1529     case 3843: return "er_innodb_redo_log_archive_dir_empty";
1530     case 3844: return "er_innodb_redo_log_archive_no_such_dir";
1531     case 3845: return "er_innodb_redo_log_archive_dir_clash";
1532     case 3846: return "er_innodb_redo_log_archive_dir_permissions";
1533     case 3847: return "er_innodb_redo_log_archive_file_create";
1534     case 3848: return "er_innodb_redo_log_archive_active";
1535     case 3849: return "er_innodb_redo_log_archive_inactive";
1536     case 3850: return "er_innodb_redo_log_archive_failed";
1537     case 3851: return "er_innodb_redo_log_archive_session";
1538     case 3852: return "er_std_regex_error";
1539     case 3853: return "er_invalid_json_type";
1540     case 3854: return "er_cannot_convert_string";
1541     case 3855: return "er_dependent_by_partition_func";
1542     case 3856: return "er_warn_deprecated_float_auto_increment";
1543     case 3857: return "er_rpl_cant_stop_slave_while_locked_backup";
1544     case 3858: return "er_warn_deprecated_float_digits";
1545     case 3859: return "er_warn_deprecated_float_unsigned";
1546     case 3860: return "er_warn_deprecated_integer_display_width";
1547     case 3861: return "er_warn_deprecated_zerofill";
1548     case 3862: return "er_clone_donor";
1549     case 3863: return "er_clone_protocol";
1550     case 3864: return "er_clone_donor_version";
1551     case 3865: return "er_clone_os";
1552     case 3866: return "er_clone_platform";
1553     case 3867: return "er_clone_charset";
1554     case 3868: return "er_clone_config";
1555     case 3869: return "er_clone_sys_config";
1556     case 3870: return "er_clone_plugin_match";
1557     case 3871: return "er_clone_loopback";
1558     case 3872: return "er_clone_encryption";
1559     case 3873: return "er_clone_disk_space";
1560     case 3874: return "er_clone_in_progress";
1561     case 3875: return "er_clone_disallowed";
1562     case 3876: return "er_cannot_grant_roles_to_anonymous_user";
1563     case 3877: return "er_secondary_engine_plugin";
1564     case 3878: return "er_second_password_cannot_be_empty";
1565     case 3879: return "er_db_access_denied";
1566     case 3880: return "er_da_auth_id_with_system_user_priv_in_mandatory_roles";
1567     case 3881: return "er_da_rpl_gtid_table_cannot_open";
1568     case 3882: return "er_geometry_in_unknown_length_unit";
1569     case 3883: return "er_da_plugin_install_error";
1570     case 3884: return "er_no_session_temp";
1571     case 3885: return "er_da_unknown_error_number";
1572     case 3886: return "er_column_change_size";
1573     case 3887: return "er_regexp_invalid_capture_group_name";
1574     case 3888: return "er_da_ssl_library_error";
1575     case 3889: return "er_secondary_engine";
1576     case 3890: return "er_secondary_engine_ddl";
1577     case 3891: return "er_incorrect_current_password";
1578     case 3892: return "er_missing_current_password";
1579     case 3893: return "er_current_password_not_required";
1580     case 3894: return "er_password_cannot_be_retained_on_plugin_change";
1581     case 3895: return "er_current_password_cannot_be_retained";
1582     case 3896: return "er_partial_revokes_exist";
1583     case 3897: return "er_cannot_grant_system_priv_to_mandatory_role";
1584     case 3898: return "er_xa_replication_filters";
1585     case 3899: return "er_unsupported_sql_mode";
1586     case 3900: return "er_regexp_invalid_flag";
1587     case 3901: return "er_partial_revoke_and_db_grant_both_exists";
1588     case 3902: return "er_unit_not_found";
1589     case 3903: return "er_invalid_json_value_for_func_index";
1590     case 3904: return "er_json_value_out_of_range_for_func_index";
1591     case 3905: return "er_exceeded_mv_keys_num";
1592     case 3906: return "er_exceeded_mv_keys_space";
1593     case 3907: return "er_functional_index_data_is_too_long";
1594     case 3908: return "er_wrong_mvi_value";
1595     case 3909: return "er_warn_func_index_not_applicable";
1596     case 3910: return "er_grp_rpl_udf_error";
1597     case 3911: return "er_update_gtid_purged_with_gr";
1598     case 3912: return "er_grouping_on_timestamp_in_dst";
1599     case 3913: return "er_table_name_causes_too_long_path";
1600     case 3914: return "er_audit_log_insufficient_privilege";
1601     case 3916: return "er_da_grp_rpl_started_auto_rejoin";
1602     case 3917: return "er_sysvar_change_during_query";
1603     case 3918: return "er_globstat_change_during_query";
1604     case 3919: return "er_grp_rpl_message_service_init_failure";
1605     case 3920: return "er_change_master_wrong_compression_algorithm_client";
1606     case 3921: return "er_change_master_wrong_compression_level_client";
1607     case 3922: return "er_wrong_compression_algorithm_client";
1608     case 3923: return "er_wrong_compression_level_client";
1609     case 3924: return "er_change_master_wrong_compression_algorithm_list_client";
1610     case 3925: return "er_client_privilege_checks_user_cannot_be_anonymous";
1611     case 3926: return "er_client_privilege_checks_user_does_not_exist";
1612     case 3927: return "er_client_privilege_checks_user_corrupt";
1613     case 3928: return "er_client_privilege_checks_user_needs_rpl_applier_priv";
1614     case 3929: return "er_warn_da_privilege_not_registered";
1615     case 3930: return "er_client_keyring_udf_key_invalid";
1616     case 3931: return "er_client_keyring_udf_key_type_invalid";
1617     case 3932: return "er_client_keyring_udf_key_too_long";
1618     case 3933: return "er_client_keyring_udf_key_type_too_long";
1619     case 3934: return "er_json_schema_validation_error_with_detailed_report";
1620     case 3935: return "er_da_udf_invalid_charset_specified";
1621     case 3936: return "er_da_udf_invalid_charset";
1622     case 3937: return "er_da_udf_invalid_collation";
1623     case 3938: return "er_da_udf_invalid_extension_argument_type";
1624     case 3939: return "er_multiple_constraints_with_same_name";
1625     case 3940: return "er_constraint_not_found";
1626     case 3941: return "er_alter_constraint_enforcement_not_supported";
1627     case 3942: return "er_table_value_constructor_must_have_columns";
1628     case 3943: return "er_table_value_constructor_cannot_have_default";
1629     case 3944: return "er_client_query_failure_invalid_non_row_format";
1630     case 3945: return "er_require_row_format_invalid_value";
1631     case 3946: return "er_failed_to_determine_if_role_is_mandatory";
1632     case 3947: return "er_failed_to_fetch_mandatory_role_list";
1633     case 3948: return "er_client_local_files_disabled";
1634     case 3949: return "er_imp_incompatible_cfg_version";
1635     case 3950: return "er_da_oom";
1636     case 3951: return "er_da_udf_invalid_argument_to_set_charset";
1637     case 3952: return "er_da_udf_invalid_return_type_to_set_charset";
1638     case 3953: return "er_multiple_into_clauses";
1639     case 3954: return "er_misplaced_into";
1640     case 3955: return "er_user_access_denied_for_user_account_blocked_by_password_lock";
1641     case 3956: return "er_warn_deprecated_year_unsigned";
1642     case 3957: return "er_clone_network_packet";
1643     case 3958: return "er_sdi_operation_failed_missing_record";
1644     case 3959: return "er_dependent_by_check_constraint";
1645     case 3960: return "er_grp_operation_not_allowed_gr_must_stop";
1646     case 3961: return "er_warn_deprecated_json_table_on_error_on_empty";
1647     case 3962: return "er_warn_deprecated_inner_into";
1648     case 3963: return "er_warn_deprecated_values_function_always_null";
1649     case 3964: return "er_warn_deprecated_sql_calc_found_rows";
1650     case 3965: return "er_warn_deprecated_found_rows";
1651     case 3966: return "er_missing_json_value";
1652     case 3967: return "er_multiple_json_values";
1653     case 3968: return "er_hostname_too_long";
1654     case 3969: return "er_warn_client_deprecated_partition_prefix_key";
1655     case 3970: return "er_group_replication_user_empty_msg";
1656     case 3971: return "er_group_replication_user_mandatory_msg";
1657     case 3972: return "er_group_replication_password_length";
1658     case 3973: return "er_subquery_transform_rejected";
1659     case 3974: return "er_da_grp_rpl_recovery_endpoint_format";
1660     case 3975: return "er_da_grp_rpl_recovery_endpoint_invalid";
1661     case 3976: return "er_wrong_value_for_var_plus_actionable_part";
1662     case 3977: return "er_statement_not_allowed_after_start_transaction";
1663     case 3978: return "er_foreign_key_with_atomic_create_select";
1664     case 3979: return "er_not_allowed_with_start_transaction";
1665     case 3980: return "er_invalid_json_attribute";
1666     case 3981: return "er_engine_attribute_not_supported";
1667     case 3982: return "er_invalid_user_attribute_json";
1668     case 3983: return "er_innodb_redo_disabled";
1669     case 3984: return "er_innodb_redo_archiving_enabled";
1670     case 3985: return "er_mdl_out_of_resources";
1671     case 3986: return "er_implicit_comparison_for_json";
1672     case 3987: return "er_function_does_not_support_character_set";
1673     case 3988: return "er_impossible_string_conversion";
1674     case 3989: return "er_schema_read_only";
1675     case 3990: return "er_rpl_async_reconnect_gtid_mode_off";
1676     case 3991: return "er_rpl_async_reconnect_auto_position_off";
1677     case 3992: return "er_disable_gtid_mode_requires_async_reconnect_off";
1678     case 3993: return "er_disable_auto_position_requires_async_reconnect_off";
1679     case 3994: return "er_invalid_parameter_use";
1680     case 3995: return "er_character_set_mismatch";
1681     case 3996: return "er_warn_var_value_change_not_supported";
1682     case 3997: return "er_invalid_time_zone_interval";
1683     case 3998: return "er_invalid_cast";
1684     case 3999: return "er_hypergraph_not_supported_yet";
1685     case 4000: return "er_warn_hypergraph_experimental";
1686     case 4001: return "er_da_no_error_log_parser_configured";
1687     case 4002: return "er_da_error_log_table_disabled";
1688     case 4003: return "er_da_error_log_multiple_filters";
1689     case 4004: return "er_da_cant_open_error_log";
1690     case 4005: return "er_user_referenced_as_definer";
1691     case 4006: return "er_cannot_user_referenced_as_definer";
1692     case 4007: return "er_regex_number_too_big";
1693     case 4008: return "er_spvar_noninteger_type";
1694     case 4009: return "warn_unsupported_acl_tables_read";
1695     case 4010: return "er_binlog_unsafe_acl_table_read_in_dml_ddl";
1696     case 4011: return "er_stop_replica_monitor_io_thread_timeout";
1697     case 4012: return "er_starting_replica_monitor_io_thread";
1698     case 4013: return "er_cant_use_anonymous_to_gtid_with_gtid_mode_not_on";
1699     case 4014: return "er_cant_combine_anonymous_to_gtid_and_autoposition";
1700     case 4015: return "er_assign_gtids_to_anonymous_transactions_requires_gtid_mode_on";
1701     case 4016: return "er_sql_slave_skip_counter_used_with_gtid_mode_on";
1702     case 4017: return "er_using_assign_gtids_to_anonymous_transactions_as_local_or_uuid";
1703     case 4018: return "er_cant_set_anonymous_to_gtid_and_wait_until_sql_thd_after_gtids";
1704     case 4019: return "er_cant_set_sql_after_or_before_gtids_with_anonymous_to_gtid";
1705     case 4020: return "er_anonymous_to_gtid_uuid_same_as_group_name";
1706     case 4021: return "er_cant_use_same_uuid_as_group_name";
1707     case 4022: return "er_grp_rpl_recovery_channel_still_running";
1708     case 4023: return "er_innodb_invalid_autoextend_size_value";
1709     case 4024: return "er_innodb_incompatible_with_tablespace";
1710     case 4025: return "er_innodb_autoextend_size_out_of_range";
1711     case 4026: return "er_cannot_use_autoextend_size_clause";
1712     case 4027: return "er_role_granted_to_itself";
1713     case 4028: return "er_table_must_have_a_visible_column";
1714     case 4029: return "er_innodb_compression_failure";
1715     case 4030: return "er_warn_async_conn_failover_network_namespace";
1716     case 4031: return "er_client_interaction_timeout";
1717     case 4032: return "er_invalid_cast_to_geometry";
1718     case 4033: return "er_invalid_cast_polygon_ring_direction";
1719     case 4034: return "er_gis_different_srids_aggregation";
1720     case 4035: return "er_reload_keyring_failure";
1721     case 4036: return "er_sdi_get_keys_invalid_tablespace";
1722     case 4037: return "er_change_rpl_src_wrong_compression_algorithm_size";
1723     case 4039: return "er_cant_use_same_uuid_as_view_change_uuid";
1724     case 4040: return "er_anonymous_to_gtid_uuid_same_as_view_change_uuid";
1725     case 4041: return "er_grp_rpl_view_change_uuid_fail_get_variable";
1726     case 4042: return "er_warn_aduit_log_max_size_and_prune_seconds";
1727     case 4043: return "er_warn_aduit_log_max_size_close_to_rotate_on_size";
1728     case 4044: return "er_kerberos_create_user";
1729     case 4045: return "er_install_plugin_conflict_client";
1730     case 4046: return "er_da_error_log_component_flush_failed";
1731     case 4047: return "er_warn_sql_after_mts_gaps_gap_not_calculated";
1732     case 4048: return "er_invalid_assignment_target";
1733     case 4049: return "er_operation_not_allowed_on_gr_secondary";
1734     case 4050: return "er_grp_rpl_failover_channel_status_propagation";
1735     case 4051: return "er_warn_audit_log_format_unix_timestamp_only_when_json";
1736     case 4052: return "er_invalid_mfa_plugin_specified";
1737     case 4053: return "er_identified_by_unsupported";
1738     case 4054: return "er_invalid_plugin_for_registration";
1739     case 4055: return "er_plugin_requires_registration";
1740     case 4056: return "er_mfa_method_exists";
1741     case 4057: return "er_mfa_method_not_exists";
1742     case 4058: return "er_authentication_policy_mismatch";
1743     case 4059: return "er_plugin_registration_done";
1744     case 4060: return "er_invalid_user_for_registration";
1745     case 4061: return "er_user_registration_failed";
1746     case 4062: return "er_mfa_methods_invalid_order";
1747     case 4063: return "er_mfa_methods_identical";
1748     case 4064: return "er_invalid_mfa_operations_for_passwordless_user";
1749     case 4065: return "er_change_replication_source_no_options_for_gtid_only";
1750     case 4066: return "er_change_rep_source_cant_disable_req_row_format_with_gtid_only";
1751     case 4067: return "er_change_rep_source_cant_disable_auto_position_with_gtid_only";
1752     case 4068: return "er_change_rep_source_cant_disable_gtid_only_without_positions";
1753     case 4069: return "er_change_rep_source_cant_disable_auto_pos_without_positions";
1754     case 4070: return "er_change_rep_source_gr_channel_with_gtid_mode_not_on";
1755     case 4071: return "er_cant_use_gtid_only_with_gtid_mode_not_on";
1756     case 4072: return "er_warn_c_disable_gtid_only_with_source_auto_pos_invalid_pos";
1757     case 4073: return "er_da_ssl_fips_mode_error";
1758     case 4074: return "er_value_out_of_range";
1759     case 4075: return "er_fulltext_with_rollup";
1760     case 4076: return "er_regexp_missing_resource";
1761     case 4077: return "er_warn_regexp_using_default";
1762     case 4078: return "er_regexp_missing_file";
1763     case 4079: return "er_warn_deprecated_collation";
1764     case 4080: return "er_concurrent_procedure_usage";
1765     case 4081: return "er_da_global_conn_limit";
1766     case 4082: return "er_da_conn_limit";
1767     case 4083: return "er_alter_operation_not_supported_reason_column_type_instant";
1768     case 4084: return "er_warn_sf_udf_name_collision";
1769     case 4085: return "er_cannot_purge_binlog_with_backup_lock";
1770     case 4086: return "er_too_many_windows";
1771     case 4087: return "er_mysqlbackup_client_msg";
1772     case 4088: return "er_comment_contains_invalid_string";
1773     case 4089: return "er_definition_contains_invalid_string";
1774     case 4090: return "er_cant_execute_command_with_assigned_gtid_next";
1775     case 4091: return "er_xa_temp_table";
1776     case 4092: return "er_innodb_max_row_version";
1777     case 4094: return "er_operation_not_allowed_while_primary_change_is_running";
1778     case 4095: return "er_warn_deprecated_datetime_delimiter";
1779     case 4096: return "er_warn_deprecated_superfluous_delimiter";
1780     case 4097: return "er_cannot_persist_sensitive_variables";
1781     case 4098: return "er_warn_cannot_securely_persist_sensitive_variables";
1782     case 4099: return "er_warn_trg_already_exists";
1783     case 4100: return "er_if_not_exists_unsupported_trg_exists_on_different_table";
1784     case 4101: return "er_if_not_exists_unsupported_udf_native_fct_name_collision";
1785     case 4102: return "er_set_password_auth_plugin_error";
1786     case 4105: return "er_srs_invalid_latitude_of_origin";
1787     case 4106: return "er_srs_invalid_longitude_of_origin";
1788     case 4107: return "er_srs_unused_proj_parameter_present";
1789     case 4108: return "er_gipk_column_exists";
1790     case 4109: return "er_gipk_failed_autoinc_column_exists";
1791     case 4110: return "er_gipk_column_alter_not_allowed";
1792     case 4111: return "er_drop_pk_column_to_drop_gipk";
1793     case 4112: return "er_create_select_with_gipk_disallowed_in_sbr";
1794     case 4113: return "er_da_expire_logs_days_ignored";
1795     case 4114: return "er_cte_recursive_not_union";
1796     case 4115: return "er_command_backend_failed_to_fetch_security_ctx";
1797     case 4116: return "er_command_service_backend_failed";
1798     case 4117: return "er_client_file_privilege_for_replication_checks";
1799     case 4118: return "er_group_replication_force_members_command_failure";
1800     case 4119: return "er_warn_deprecated_ident";
1801     case 4120: return "er_intersect_all_max_duplicates_exceeded";
1802     case 4121: return "er_tp_query_thrs_per_grp_exceeds_txn_thr_limit";
1803     case 4122: return "er_bad_timestamp_format";
1804     case 4123: return "er_shape_pridiction_udf";
1805     case 4124: return "er_srs_invalid_height";
1806     case 4125: return "er_srs_invalid_scaling";
1807     case 4126: return "er_srs_invalid_zone_width";
1808     case 4127: return "er_srs_invalid_latitude_polar_stere_var_a";
1809     case 4128: return "er_warn_deprecated_client_no_schema_option";
1810     case 4129: return "er_table_not_empty";
1811     case 4130: return "er_table_no_primary_key";
1812     case 4131: return "er_table_in_shared_tablespace";
1813     case 4132: return "er_index_other_than_pk";
1814     case 4133: return "er_load_bulk_data_unsorted";
1815     case 4134: return "er_bulk_executor_error";
1816     case 4135: return "er_bulk_reader_libcurl_init_failed";
1817     case 4136: return "er_bulk_reader_libcurl_error";
1818     case 4137: return "er_bulk_reader_server_error";
1819     case 4138: return "er_bulk_reader_communication_error";
1820     case 4139: return "er_bulk_load_data_failed";
1821     case 4140: return "er_bulk_loader_column_too_big_for_leftover_buffer";
1822     case 4141: return "er_bulk_loader_component_error";
1823     case 4142: return "er_bulk_loader_file_contains_less_lines_than_ignore_clause";
1824     case 4143: return "er_bulk_parser_missing_enclosed_by";
1825     case 4144: return "er_bulk_parser_row_buffer_max_total_cols_exceeded";
1826     case 4145: return "er_bulk_parser_copy_buffer_size_exceeded";
1827     case 4146: return "er_bulk_parser_unexpected_end_of_input";
1828     case 4147: return "er_bulk_parser_unexpected_row_terminator";
1829     case 4148: return "er_bulk_parser_unexpected_char_after_ending_enclosed_by";
1830     case 4149: return "er_bulk_parser_unexpected_char_after_null_escape";
1831     case 4150: return "er_bulk_parser_unexpected_char_after_column_terminator";
1832     case 4151: return "er_bulk_parser_incomplete_escape_sequence";
1833     case 4152: return "er_load_bulk_data_failed";
1834     case 4153: return "er_load_bulk_data_wrong_value_for_field";
1835     case 4154: return "er_load_bulk_data_warn_null_to_notnull";
1836     case 4155: return "er_require_table_primary_key_check_generate_with_gr";
1837     case 4156: return "er_cant_change_sys_var_in_read_only_mode";
1838     case 4157: return "er_innodb_instant_add_drop_not_supported_max_size";
1839     case 4158: return "er_innodb_instant_add_not_supported_max_fields";
1840     case 4159: return "er_cant_set_persisted";
1841     case 4160: return "er_install_component_set_null_value";
1842     case 4161: return "er_install_component_set_unused_value";
1843     case 4162: return "er_warn_deprecated_user_defined_collations";
1844     case 4163: return "er_user_lock_overlong_name";
1845     case 4164: return "er_warn_no_space_version_comment";
1846     case 4165: return "er_validate_password_insufficient_changed_characters";
1847 
1848     default: return "<unknown MySQL-specific server error>";
1849     }
1850 }
1851 
1852 const char* boost::mysql::detail::mariadb_error_to_string(int v) noexcept
1853 {
1854     switch (v)
1855     {
1856     case 1076: return "er_binlog_cant_delete_gtid_domain";
1857     case 1120: return "er_wrong_outer_join";
1858     case 1150: return "er_delayed_cant_change_lock";
1859     case 1151: return "er_too_many_delayed_threads";
1860     case 1165: return "er_delayed_insert_table_locked";
1861     case 1176: return "er_key_does_not_exists";
1862     case 1349: return "er_view_select_derived";
1863     case 1487: return "er_not_constant_expression";
1864     case 1506: return "er_feature_not_supported_with_partitioning";
1865     case 1593: return "er_slave_fatal_error";
1866     case 1611: return "er_load_data_invalid_column";
1867     case 1669: return "er_binlog_unsafe_insert_delayed";
1868     case 1726: return "er_vers_not_allowed";
1869     case 1742: return "er_value_too_long";
1870     case 1768: return "er_cant_change_gtid_next_in_transaction_when_gtid_next_list_is_null";
1871     case 1777: return "er_auto_position_requires_gtid_mode_on";
1872     case 1779: return "er_gtid_mode_2_or_3_requires_enforce_gtid_consistency_on";
1873     case 1784: return "er_found_gtid_event_when_gtid_mode_is_off";
1874     case 1826: return "er_dup_constraint_name";
1875     case 1834: return "er_fk_cannot_delete_parent";
1876     case 1837: return "er_gtid_next_type_undefined_group";
1877     case 1852: return "er_alter_operation_not_supported_reason_ignore";
1878     case 1901: return "er_generated_column_function_is_not_allowed";
1879     case 1903: return "er_primary_key_based_on_generated_column";
1880     case 1904: return "er_key_based_on_generated_virtual_column";
1881     case 1905: return "er_wrong_fk_option_for_generated_column";
1882     case 1906: return "er_warning_non_default_value_for_generated_column";
1883     case 1907: return "er_unsupported_action_on_generated_column";
1884     case 1910: return "er_unsupported_engine_for_generated_columns";
1885     case 1911: return "er_unknown_option";
1886     case 1912: return "er_bad_option_value";
1887     case 1916: return "er_data_overflow";
1888     case 1917: return "er_data_truncated";
1889     case 1918: return "er_bad_data";
1890     case 1919: return "er_dyn_col_wrong_format";
1891     case 1920: return "er_dyn_col_implementation_limit";
1892     case 1921: return "er_dyn_col_data";
1893     case 1922: return "er_dyn_col_wrong_charset";
1894     case 1923: return "er_illegal_subquery_optimizer_switches";
1895     case 1924: return "er_query_cache_is_disabled";
1896     case 1925: return "er_query_cache_is_globaly_disabled";
1897     case 1926: return "er_view_orderby_ignored";
1898     case 1927: return "er_connection_killed";
1899     case 1929: return "er_inside_transaction_prevents_switch_skip_replication";
1900     case 1930: return "er_stored_function_prevents_switch_skip_replication";
1901     case 1931: return "er_query_exceeded_rows_examined_limit";
1902     case 1932: return "er_no_such_table_in_engine";
1903     case 1933: return "er_target_not_explainable";
1904     case 1934: return "er_connection_already_exists";
1905     case 1935: return "er_master_log_prefix";
1906     case 1936: return "er_cant_start_stop_slave";
1907     case 1937: return "er_slave_started";
1908     case 1938: return "er_slave_stopped";
1909     case 1939: return "er_sql_discover_error";
1910     case 1940: return "er_failed_gtid_state_init";
1911     case 1941: return "er_incorrect_gtid_state";
1912     case 1942: return "er_cannot_update_gtid_state";
1913     case 1943: return "er_duplicate_gtid_domain";
1914     case 1944: return "er_gtid_open_table_failed";
1915     case 1945: return "er_gtid_position_not_found_in_binlog";
1916     case 1946: return "er_cannot_load_slave_gtid_state";
1917     case 1947: return "er_master_gtid_pos_conflicts_with_binlog";
1918     case 1948: return "er_master_gtid_pos_missing_domain";
1919     case 1949: return "er_until_requires_using_gtid";
1920     case 1950: return "er_gtid_strict_out_of_order";
1921     case 1951: return "er_gtid_start_from_binlog_hole";
1922     case 1952: return "er_slave_unexpected_master_switch";
1923     case 1953: return "er_inside_transaction_prevents_switch_gtid_domain_id_seq_no";
1924     case 1954: return "er_stored_function_prevents_switch_gtid_domain_id_seq_no";
1925     case 1955: return "er_gtid_position_not_found_in_binlog2";
1926     case 1956: return "er_binlog_must_be_empty";
1927     case 1957: return "er_no_such_query";
1928     case 1958: return "er_bad_base64_data";
1929     case 1959: return "er_invalid_role";
1930     case 1960: return "er_invalid_current_user";
1931     case 1961: return "er_cannot_grant_role";
1932     case 1962: return "er_cannot_revoke_role";
1933     case 1963: return "er_change_slave_parallel_threads_active";
1934     case 1964: return "er_prior_commit_failed";
1935     case 1965: return "er_it_is_a_view";
1936     case 1966: return "er_slave_skip_not_in_gtid";
1937     case 1967: return "er_table_definition_too_big";
1938     case 1968: return "er_plugin_installed";
1939     case 1969: return "er_statement_timeout";
1940     case 1970: return "er_subqueries_not_supported";
1941     case 1971: return "er_set_statement_not_supported";
1942     case 1973: return "er_user_create_exists";
1943     case 1974: return "er_user_drop_exists";
1944     case 1975: return "er_role_create_exists";
1945     case 1976: return "er_role_drop_exists";
1946     case 1977: return "er_cannot_convert_character";
1947     case 1978: return "er_invalid_default_value_for_field";
1948     case 1979: return "er_kill_query_denied_error";
1949     case 1980: return "er_no_eis_for_field";
1950     case 1981: return "er_warn_aggfunc_dependence";
1951     case 1982: return "warn_innodb_partition_option_ignored";
1952     case 3000: return "er_file_corrupt";
1953     case 3001: return "er_error_on_master";
1954     case 3002: return "er_inconsistent_error";
1955     case 3003: return "er_storage_engine_not_loaded";
1956     case 3004: return "er_get_stacked_da_without_active_handler";
1957     case 3005: return "er_warn_legacy_syntax_converted";
1958     case 3006: return "er_binlog_unsafe_fulltext_plugin";
1959     case 3007: return "er_cannot_discard_temporary_table";
1960     case 3008: return "er_fk_depth_exceeded";
1961     case 3009: return "er_col_count_doesnt_match_please_update_v2";
1962     case 3010: return "er_warn_trigger_doesnt_have_created";
1963     case 3011: return "er_referenced_trg_does_not_exist_mysql";
1964     case 3012: return "er_explain_not_supported";
1965     case 3013: return "er_invalid_field_size";
1966     case 3014: return "er_missing_ha_create_option";
1967     case 3015: return "er_engine_out_of_memory";
1968     case 3016: return "er_password_expire_anonymous_user";
1969     case 3017: return "er_slave_sql_thread_must_stop";
1970     case 3018: return "er_no_ft_materialized_subquery";
1971     case 3019: return "er_innodb_undo_log_full";
1972     case 3020: return "er_invalid_argument_for_logarithm";
1973     case 3021: return "er_slave_channel_io_thread_must_stop";
1974     case 3022: return "er_warn_open_temp_tables_must_be_zero";
1975     case 3023: return "er_warn_only_master_log_file_no_pos";
1976     case 3024: return "er_query_timeout";
1977     case 3025: return "er_non_ro_select_disable_timer";
1978     case 3026: return "er_dup_list_entry";
1979     case 3027: return "er_sql_mode_no_effect";
1980     case 3028: return "er_aggregate_order_for_union";
1981     case 3029: return "er_aggregate_order_non_agg_query";
1982     case 3030: return "er_slave_worker_stopped_previous_thd_error";
1983     case 3031: return "er_dont_support_slave_preserve_commit_order";
1984     case 3032: return "er_server_offline_mode";
1985     case 3033: return "er_gis_different_srids";
1986     case 3034: return "er_gis_unsupported_argument";
1987     case 3035: return "er_gis_unknown_error";
1988     case 3036: return "er_gis_unknown_exception";
1989     case 3037: return "er_gis_invalid_data";
1990     case 3038: return "er_boost_geometry_empty_input_exception";
1991     case 3039: return "er_boost_geometry_centroid_exception";
1992     case 3040: return "er_boost_geometry_overlay_invalid_input_exception";
1993     case 3041: return "er_boost_geometry_turn_info_exception";
1994     case 3042: return "er_boost_geometry_self_intersection_point_exception";
1995     case 3043: return "er_boost_geometry_unknown_exception";
1996     case 3044: return "er_std_bad_alloc_error";
1997     case 3045: return "er_std_domain_error";
1998     case 3046: return "er_std_length_error";
1999     case 3047: return "er_std_invalid_argument";
2000     case 3048: return "er_std_out_of_range_error";
2001     case 3049: return "er_std_overflow_error";
2002     case 3050: return "er_std_range_error";
2003     case 3051: return "er_std_underflow_error";
2004     case 3052: return "er_std_logic_error";
2005     case 3053: return "er_std_runtime_error";
2006     case 3054: return "er_std_unknown_exception";
2007     case 3055: return "er_gis_data_wrong_endianess";
2008     case 3056: return "er_change_master_password_length";
2009     case 3057: return "er_user_lock_wrong_name";
2010     case 3058: return "er_user_lock_deadlock";
2011     case 3059: return "er_replace_inaccessible_rows";
2012     case 3060: return "er_alter_operation_not_supported_reason_gis";
2013     case 4002: return "er_with_col_wrong_list";
2014     case 4003: return "er_too_many_definitions_in_with_clause";
2015     case 4004: return "er_dup_query_name";
2016     case 4005: return "er_recursive_without_anchors";
2017     case 4006: return "er_unacceptable_mutual_recursion";
2018     case 4007: return "er_ref_to_recursive_with_table_in_derived";
2019     case 4008: return "er_not_standard_compliant_recursive";
2020     case 4009: return "er_wrong_window_spec_name";
2021     case 4010: return "er_dup_window_name";
2022     case 4011: return "er_partition_list_in_referencing_window_spec";
2023     case 4012: return "er_order_list_in_referencing_window_spec";
2024     case 4013: return "er_window_frame_in_referenced_window_spec";
2025     case 4014: return "er_bad_combination_of_window_frame_bound_specs";
2026     case 4015: return "er_wrong_placement_of_window_function";
2027     case 4016: return "er_window_function_in_window_spec";
2028     case 4017: return "er_not_allowed_window_frame";
2029     case 4018: return "er_no_order_list_in_window_spec";
2030     case 4019: return "er_range_frame_needs_simple_orderby";
2031     case 4020: return "er_wrong_type_for_rows_frame";
2032     case 4021: return "er_wrong_type_for_range_frame";
2033     case 4022: return "er_frame_exclusion_not_supported";
2034     case 4023: return "er_window_function_dont_have_frame";
2035     case 4024: return "er_invalid_ntile_argument";
2036     case 4025: return "er_constraint_failed";
2037     case 4026: return "er_expression_is_too_big";
2038     case 4027: return "er_error_evaluating_expression";
2039     case 4028: return "er_calculating_default_value";
2040     case 4029: return "er_expression_refers_to_uninit_field";
2041     case 4030: return "er_partition_default_error";
2042     case 4031: return "er_referenced_trg_does_not_exist";
2043     case 4032: return "er_invalid_default_param";
2044     case 4033: return "er_binlog_non_supported_bulk";
2045     case 4034: return "er_binlog_uncompress_error";
2046     case 4035: return "er_json_bad_chr";
2047     case 4036: return "er_json_not_json_chr";
2048     case 4037: return "er_json_eos";
2049     case 4038: return "er_json_syntax";
2050     case 4039: return "er_json_escaping";
2051     case 4040: return "er_json_depth";
2052     case 4041: return "er_json_path_eos";
2053     case 4042: return "er_json_path_syntax";
2054     case 4043: return "er_json_path_depth";
2055     case 4044: return "er_json_path_no_wildcard";
2056     case 4045: return "er_json_path_array";
2057     case 4046: return "er_json_one_or_all";
2058     case 4047: return "er_unsupported_compressed_table";
2059     case 4048: return "er_geojson_incorrect";
2060     case 4049: return "er_geojson_too_few_points";
2061     case 4050: return "er_geojson_not_closed";
2062     case 4051: return "er_json_path_empty";
2063     case 4052: return "er_slave_same_id";
2064     case 4053: return "er_flashback_not_supported";
2065     case 4054: return "er_keys_out_of_order";
2066     case 4055: return "er_overlapping_keys";
2067     case 4056: return "er_require_row_binlog_format";
2068     case 4057: return "er_isolation_mode_not_supported";
2069     case 4058: return "er_on_duplicate_disabled";
2070     case 4059: return "er_updates_with_consistent_snapshot";
2071     case 4060: return "er_rollback_only";
2072     case 4061: return "er_rollback_to_savepoint";
2073     case 4062: return "er_isolation_level_with_consistent_snapshot";
2074     case 4063: return "er_unsupported_collation";
2075     case 4064: return "er_metadata_inconsistency";
2076     case 4065: return "er_cf_different";
2077     case 4066: return "er_rdb_ttl_duration_format";
2078     case 4067: return "er_rdb_status_general";
2079     case 4068: return "er_rdb_status_msg";
2080     case 4069: return "er_rdb_ttl_unsupported";
2081     case 4070: return "er_rdb_ttl_col_format";
2082     case 4071: return "er_per_index_cf_deprecated";
2083     case 4072: return "er_key_create_during_alter";
2084     case 4073: return "er_sk_populate_during_alter";
2085     case 4074: return "er_sum_func_with_window_func_as_arg";
2086     case 4075: return "er_net_ok_packet_too_large";
2087     case 4076: return "er_geojson_empty_coordinates";
2088     case 4077: return "er_myrocks_cant_nopad_collation";
2089     case 4078: return "er_illegal_parameter_data_types2_for_operation";
2090     case 4079: return "er_illegal_parameter_data_type_for_operation";
2091     case 4080: return "er_wrong_paramcount_to_cursor";
2092     case 4081: return "er_unknown_structured_variable";
2093     case 4082: return "er_row_variable_does_not_have_field";
2094     case 4083: return "er_end_identifier_does_not_match";
2095     case 4084: return "er_sequence_run_out";
2096     case 4085: return "er_sequence_invalid_data";
2097     case 4086: return "er_sequence_invalid_table_structure";
2098     case 4087: return "er_sequence_access_error";
2099     case 4088: return "er_sequence_binlog_format";
2100     case 4089: return "er_not_sequence";
2101     case 4090: return "er_not_sequence2";
2102     case 4091: return "er_unknown_sequences";
2103     case 4092: return "er_unknown_view";
2104     case 4093: return "er_wrong_insert_into_sequence";
2105     case 4094: return "er_sp_stack_trace";
2106     case 4095: return "er_package_routine_in_spec_not_defined_in_body";
2107     case 4096: return "er_package_routine_forward_declaration_not_defined";
2108     case 4097: return "er_compressed_column_used_as_key";
2109     case 4098: return "er_unknown_compression_method";
2110     case 4099: return "er_wrong_number_of_values_in_tvc";
2111     case 4100: return "er_field_reference_in_tvc";
2112     case 4101: return "er_wrong_type_for_percentile_func";
2113     case 4102: return "er_argument_not_constant";
2114     case 4103: return "er_argument_out_of_range";
2115     case 4104: return "er_wrong_type_of_argument";
2116     case 4105: return "er_not_aggregate_function";
2117     case 4106: return "er_invalid_aggregate_function";
2118     case 4107: return "er_invalid_value_to_limit";
2119     case 4108: return "er_invisible_not_null_without_default";
2120     case 4109: return "er_update_info_with_system_versioning";
2121     case 4110: return "er_vers_field_wrong_type";
2122     case 4111: return "er_vers_engine_unsupported";
2123     case 4113: return "er_partition_wrong_type";
2124     case 4114: return "warn_vers_part_full";
2125     case 4115: return "warn_vers_parameters";
2126     case 4116: return "er_vers_drop_partition_interval";
2127     case 4118: return "warn_vers_part_non_historical";
2128     case 4119: return "er_vers_alter_not_allowed";
2129     case 4120: return "er_vers_alter_engine_prohibited";
2130     case 4121: return "er_vers_range_prohibited";
2131     case 4122: return "er_conflicting_for_system_time";
2132     case 4123: return "er_vers_table_must_have_columns";
2133     case 4124: return "er_vers_not_versioned";
2134     case 4125: return "er_missing";
2135     case 4126: return "er_vers_period_columns";
2136     case 4127: return "er_part_wrong_value";
2137     case 4128: return "er_vers_wrong_parts";
2138     case 4129: return "er_vers_no_trx_id";
2139     case 4130: return "er_vers_alter_system_field";
2140     case 4131: return "er_drop_versioning_system_time_partition";
2141     case 4132: return "er_vers_db_not_supported";
2142     case 4133: return "er_vers_trt_is_disabled";
2143     case 4134: return "er_vers_duplicate_row_start_end";
2144     case 4135: return "er_vers_already_versioned";
2145     case 4137: return "er_vers_not_supported";
2146     case 4138: return "er_vers_trx_part_historic_row_not_supported";
2147     case 4139: return "er_index_file_full";
2148     case 4140: return "er_updated_column_only_once";
2149     case 4141: return "er_empty_row_in_tvc";
2150     case 4142: return "er_vers_query_in_partition";
2151     case 4143: return "er_key_doesnt_support";
2152     case 4144: return "er_alter_operation_table_options_need_rebuild";
2153     case 4145: return "er_backup_lock_is_active";
2154     case 4146: return "er_backup_not_running";
2155     case 4147: return "er_backup_wrong_stage";
2156     case 4148: return "er_backup_stage_failed";
2157     case 4149: return "er_backup_unknown_stage";
2158     case 4150: return "er_user_is_blocked";
2159     case 4151: return "er_account_has_been_locked";
2160     case 4152: return "er_period_temporary_not_allowed";
2161     case 4153: return "er_period_types_mismatch";
2162     case 4154: return "er_more_than_one_period";
2163     case 4155: return "er_period_field_wrong_attributes";
2164     case 4156: return "er_period_not_found";
2165     case 4157: return "er_period_columns_updated";
2166     case 4158: return "er_period_constraint_drop";
2167     case 4159: return "er_too_long_keypart";
2168     case 4160: return "er_too_long_database_comment";
2169     case 4161: return "er_unknown_data_type";
2170     case 4162: return "er_unknown_operator";
2171     case 4163: return "er_warn_history_row_start_time";
2172     case 4164: return "er_part_starts_beyond_interval";
2173     case 4165: return "er_galera_replication_not_supported";
2174     case 4166: return "er_load_infile_capability_disabled";
2175     case 4167: return "er_no_secure_transports_configured";
2176     case 4168: return "er_slave_ignored_shared_table";
2177     case 4169: return "er_no_autoincrement_with_unique";
2178     case 4170: return "er_key_contains_period_fields";
2179     case 4171: return "er_key_cant_have_without_overlaps";
2180     case 4172: return "er_not_allowed_in_this_context";
2181     case 4173: return "er_data_was_commited_under_rollback";
2182     case 4174: return "er_pk_index_cant_be_ignored";
2183     case 4175: return "er_binlog_unsafe_skip_locked";
2184     case 4176: return "er_json_table_error_on_field";
2185     case 4177: return "er_json_table_alias_required";
2186     case 4178: return "er_json_table_scalar_expected";
2187     case 4179: return "er_json_table_multiple_matches";
2188     case 4180: return "er_with_ties_needs_order";
2189     case 4181: return "er_removed_orphan_trigger";
2190     case 4182: return "er_storage_engine_disabled";
2191     case 4183: return "warn_sformat_error";
2192     case 4184: return "er_partition_convert_subpartitioned";
2193     case 4185: return "er_provider_not_loaded";
2194     case 4186: return "er_json_histogram_parse_failed";
2195     case 4187: return "er_sf_out_inout_arg_not_allowed";
2196     case 4188: return "er_inconsistent_slave_temp_table";
2197     case 4189: return "er_vers_hist_part_failed";
2198     case 4190: return "warn_option_changing";
2199     case 4191: return "er_cm_option_missing_requirement";
2200     case 4192: return "er_slave_statement_timeout";
2201     case 4193: return "er_json_invalid_value_for_keyword";
2202     case 4194: return "er_json_schema_keyword_unsupported";
2203 
2204     default: return "<unknown MariaDB-specific server error>";
2205     }
2206 }
2207 
2208 #endif
2209