mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-6671 mysql_server_end breaks OpenSSL
This commit is contained in:
parent
3212aaa995
commit
8bc712e481
5 changed files with 7 additions and 1 deletions
|
@ -75,6 +75,7 @@ typedef int my_socket;
|
|||
|
||||
#include "my_list.h" /* for LISTs used in 'MYSQL' and 'MYSQL_STMT' */
|
||||
|
||||
extern unsigned int mariadb_deinitialize_ssl;
|
||||
extern unsigned int mysql_port;
|
||||
extern char *mysql_unix_port;
|
||||
|
||||
|
|
|
@ -168,6 +168,7 @@ extern LIST *list_reverse(LIST *root);
|
|||
extern void list_free(LIST *root,unsigned int free_data);
|
||||
extern unsigned int list_length(LIST *);
|
||||
extern int list_walk(LIST *,list_walk_action action,unsigned char * argument);
|
||||
extern unsigned int mariadb_deinitialize_ssl;
|
||||
extern unsigned int mysql_port;
|
||||
extern char *mysql_unix_port;
|
||||
typedef struct st_mysql_field {
|
||||
|
|
|
@ -236,6 +236,8 @@ dynamic_column_exists
|
|||
dynamic_column_list
|
||||
dynamic_column_get
|
||||
dynamic_column_prepare_decimal
|
||||
#
|
||||
mariadb_deinitialize_ssl
|
||||
)
|
||||
|
||||
SET(CLIENT_API_FUNCTIONS
|
||||
|
|
|
@ -205,7 +205,8 @@ void STDCALL mysql_server_end()
|
|||
mysql_client_plugin_deinit();
|
||||
|
||||
finish_client_errs();
|
||||
vio_end();
|
||||
if (mariadb_deinitialize_ssl)
|
||||
vio_end();
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
end_embedded_server();
|
||||
#endif
|
||||
|
|
|
@ -118,6 +118,7 @@ my_bool net_flush(NET *net);
|
|||
#define native_password_plugin_name "mysql_native_password"
|
||||
#define old_password_plugin_name "mysql_old_password"
|
||||
|
||||
uint mariadb_deinitialize_ssl= 1;
|
||||
uint mysql_port=0;
|
||||
char *mysql_unix_port= 0;
|
||||
const char *unknown_sqlstate= "HY000";
|
||||
|
|
Loading…
Add table
Reference in a new issue