031387
# symbols exported from mysql 5.1
031387
libmysqlclient_16 {
031387
  global:
031387
	_fini;
031387
	_init;
031387
	my_init;
031387
	myodbc_remove_escape;
031387
	mysql_affected_rows;
031387
	mysql_autocommit;
031387
	mysql_change_user;
031387
	mysql_character_set_name;
031387
	mysql_close;
031387
	mysql_commit;
031387
	mysql_data_seek;
031387
	mysql_debug;
031387
	mysql_dump_debug_info;
031387
	mysql_embedded;
031387
	mysql_eof;
031387
	mysql_errno;
031387
	mysql_error;
031387
	mysql_escape_string;
031387
	mysql_fetch_field;
031387
	mysql_fetch_field_direct;
031387
	mysql_fetch_fields;
031387
	mysql_fetch_lengths;
031387
	mysql_fetch_row;
031387
	mysql_field_count;
031387
	mysql_field_seek;
031387
	mysql_field_tell;
031387
	mysql_free_result;
031387
	mysql_get_character_set_info;
031387
	mysql_get_client_info;
031387
	mysql_get_client_version;
031387
	mysql_get_host_info;
031387
	mysql_get_parameters;
031387
	mysql_get_proto_info;
031387
	mysql_get_server_info;
031387
	mysql_get_server_version;
031387
	mysql_get_ssl_cipher;
031387
	mysql_hex_string;
031387
	mysql_info;
031387
	mysql_init;
031387
	mysql_insert_id;
031387
	mysql_kill;
031387
	mysql_list_dbs;
031387
	mysql_list_fields;
031387
	mysql_list_processes;
031387
	mysql_list_tables;
031387
	mysql_more_results;
031387
	mysql_next_result;
031387
	mysql_num_fields;
031387
	mysql_num_rows;
031387
	mysql_options;
031387
	mysql_ping;
031387
	mysql_query;
031387
	mysql_read_query_result;
031387
	mysql_real_connect;
031387
	mysql_real_escape_string;
031387
	mysql_real_query;
031387
	mysql_refresh;
031387
	mysql_rollback;
031387
	mysql_row_seek;
031387
	mysql_row_tell;
031387
	mysql_select_db;
031387
	mysql_send_query;
031387
	mysql_server_end;
031387
	mysql_server_init;
031387
	mysql_set_character_set;
031387
	mysql_set_local_infile_default;
031387
	mysql_set_local_infile_handler;
031387
	mysql_set_server_option;
031387
	mysql_shutdown;
031387
	mysql_sqlstate;
031387
	mysql_ssl_set;
031387
	mysql_stat;
031387
	mysql_stmt_affected_rows;
031387
	mysql_stmt_attr_get;
031387
	mysql_stmt_attr_set;
031387
	mysql_stmt_bind_param;
031387
	mysql_stmt_bind_result;
031387
	mysql_stmt_close;
031387
	mysql_stmt_data_seek;
031387
	mysql_stmt_errno;
031387
	mysql_stmt_error;
031387
	mysql_stmt_execute;
031387
	mysql_stmt_fetch;
031387
	mysql_stmt_fetch_column;
031387
	mysql_stmt_field_count;
031387
	mysql_stmt_free_result;
031387
	mysql_stmt_init;
031387
	mysql_stmt_insert_id;
031387
	mysql_stmt_num_rows;
031387
	mysql_stmt_param_count;
031387
	mysql_stmt_param_metadata;
031387
	mysql_stmt_prepare;
031387
	mysql_stmt_reset;
031387
	mysql_stmt_result_metadata;
031387
	mysql_stmt_row_seek;
031387
	mysql_stmt_row_tell;
031387
	mysql_stmt_send_long_data;
031387
	mysql_stmt_sqlstate;
031387
	mysql_stmt_store_result;
031387
	mysql_store_result;
031387
	mysql_thread_end;
031387
	mysql_thread_id;
031387
	mysql_thread_init;
031387
	mysql_thread_safe;
031387
	mysql_use_result;
031387
	mysql_warning_count;
031387
# These are documented in Paul DuBois' MySQL book, so we treat them as part
031387
# of the de-facto API.
031387
	free_defaults;
031387
	handle_options;
031387
	load_defaults;
031387
	my_print_help;
031387
# This isn't really documented anywhere, but it seems to be part of the
031387
# de-facto API as well.  We're not going to export the deprecated version
031387
# make_scrambled_password, however.
031387
	my_make_scrambled_password;
031387
# This really shouldn't be exported, but some applications use it as a
031387
# workaround for inadequate threading support; see bug #846602
031387
	THR_KEY_mysys;
031387
  local:
031387
	*;
031387
};
031387
# symbols added in mysql 5.5
031387
libmysqlclient_18 {
031387
  global:
031387
	mysql_client_find_plugin;
031387
	mysql_client_register_plugin;
031387
	mysql_load_plugin;
031387
	mysql_load_plugin_v;
031387
	mysql_plugin_options;
031387
	mysql_stmt_next_result;
031387
#
031387
# Ideally the following symbols wouldn't be exported, but various applications
031387
# require them.  We limit the namespace damage by prefixing mysql_
031387
# (see mysql-dubious-exports.patch), which means the symbols are not present
031387
# in libmysqlclient_16.
031387
#
031387
# mysql-connector-odbc requires these
031387
	mysql_default_charset_info;
031387
	mysql_get_charset;
031387
	mysql_get_charset_by_csname;
031387
	mysql_net_realloc;
031387
# PHP's mysqli.so requires this (via the ER() macro)
031387
	mysql_client_errors;
031387
};
031387
031387
# symbols specific for mariadb
031387
libmysqlclient_18_mariadb {
031387
  global:
031387
    # symbols related to non-blocking operations
031387
    # documented here: https://kb.askmonty.org/en/non-blocking-api-reference/
031387
	mysql_get_socket;
031387
	mysql_get_timeout_value;
031387
	mysql_get_timeout_value_ms;
031387
	mysql_real_connect_start;
031387
	mysql_real_connect_cont;
031387
	mysql_real_query_start;
031387
	mysql_real_query_cont;
031387
	mysql_fetch_row_start;
031387
	mysql_fetch_row_cont;
031387
	mysql_set_character_set_start;
031387
	mysql_set_character_set_cont;
031387
	mysql_select_db_start;
031387
	mysql_select_db_cont;
031387
	mysql_send_query_start;
031387
	mysql_send_query_cont;
031387
	mysql_store_result_start;
031387
	mysql_store_result_cont;
031387
	mysql_free_result_start;
031387
	mysql_free_result_cont;
031387
	mysql_close_start;
031387
	mysql_close_cont;
031387
	mysql_change_user_start;
031387
	mysql_change_user_cont;
031387
	mysql_query_start;
031387
	mysql_query_cont;
031387
	mysql_shutdown_start;
031387
	mysql_shutdown_cont;
031387
	mysql_dump_debug_info_start;
031387
	mysql_dump_debug_info_cont;
031387
	mysql_refresh_start;
031387
	mysql_refresh_cont;
031387
	mysql_kill_start;
031387
	mysql_kill_cont;
031387
	mysql_set_server_option_start;
031387
	mysql_set_server_option_cont;
031387
	mysql_ping_start;
031387
	mysql_ping_cont;
031387
	mysql_stat_start;
031387
	mysql_stat_cont;
031387
	mysql_list_dbs_start;
031387
	mysql_list_dbs_cont;
031387
	mysql_list_tables_start;
031387
	mysql_list_tables_cont;
031387
	mysql_list_processes_start;
031387
	mysql_list_processes_cont;
031387
	mysql_list_fields_start;
031387
	mysql_list_fields_cont;
031387
	mysql_read_query_result_start;
031387
	mysql_read_query_result_cont;
031387
	mysql_stmt_prepare_start;
031387
	mysql_stmt_prepare_cont;
031387
	mysql_stmt_execute_start;
031387
	mysql_stmt_execute_cont;
031387
	mysql_stmt_fetch_start;
031387
	mysql_stmt_fetch_cont;
031387
	mysql_stmt_store_result_start;
031387
	mysql_stmt_store_result_cont;
031387
	mysql_stmt_close_start;
031387
	mysql_stmt_close_cont;
031387
	mysql_stmt_reset_start;
031387
	mysql_stmt_reset_cont;
031387
	mysql_stmt_free_result_start;
031387
	mysql_stmt_free_result_cont;
031387
	mysql_stmt_send_long_data_start;
031387
	mysql_stmt_send_long_data_cont;
031387
	mysql_commit_start;
031387
	mysql_commit_cont;
031387
	mysql_rollback_start;
031387
	mysql_rollback_cont;
031387
	mysql_autocommit_start;
031387
	mysql_autocommit_cont;
031387
	mysql_next_result_start;
031387
	mysql_next_result_cont;
031387
	mysql_stmt_next_result_start;
031387
	mysql_stmt_next_result_cont;
031387
    # dynamic columns API
031387
    # documented here: https://kb.askmonty.org/en/dynamic-columns-api/
031387
    # currently only documentation for mariadb-10.0.x available, but
031387
    # upstream promissed adding 5.5.x version as well
031387
	dynamic_column_create;
031387
	dynamic_column_create_many;
031387
	dynamic_column_update;
031387
	dynamic_column_update_many;
031387
	dynamic_column_delete;
031387
	dynamic_column_exists;
031387
	dynamic_column_list;
031387
	dynamic_column_get;
031387
	dynamic_column_prepare_decimal;
031387
};