X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=mysql-dubious-exports.patch;h=076167c7650609abbdb01bdd879902c28579fc35;hb=a493b021b29c483c5c23a81f1b5192bff3f0d55f;hp=8874fce45a6e89b4d421f1e4ab44b121ca4dde0b;hpb=bfeeb8ad08433b4da25106914f8cb1f1810bedf5;p=packages%2Fmysql.git diff --git a/mysql-dubious-exports.patch b/mysql-dubious-exports.patch index 8874fce..076167c 100644 --- a/mysql-dubious-exports.patch +++ b/mysql-dubious-exports.patch @@ -24,26 +24,24 @@ diff -Naur mysql-5.5.8.orig/include/my_sys.h mysql-5.5.8/include/my_sys.h extern CHARSET_INFO *get_charset(uint cs_number, myf flags); extern CHARSET_INFO *get_charset_by_name(const char *cs_name, myf flags); extern CHARSET_INFO *get_charset_by_csname(const char *cs_name, -diff -Naur mysql-5.5.8.orig/include/mysql.h.pp mysql-5.5.8/include/mysql.h.pp ---- mysql-5.5.8.orig/include/mysql.h.pp 2010-12-03 12:58:24.000000000 -0500 -+++ mysql-5.5.8/include/mysql.h.pp 2010-12-27 14:27:23.956926896 -0500 -@@ -86,7 +86,7 @@ - void my_net_local_init(NET *net); +--- percona-server-5.7.12-5/include/mysql.h.pp~ 2016-06-01 09:44:09.000000000 +0300 ++++ percona-server-5.7.12-5/include/mysql.h.pp 2016-06-20 09:12:25.119724253 +0300 +@@ -128,7 +128,7 @@ void net_end(NET *net); - void net_clear(NET *net, my_bool clear_buffer); + void net_clear(NET *net, my_bool check_buffer); + void net_claim_memory_ownership(NET *net); -my_bool net_realloc(NET *net, size_t length); +my_bool mysql_net_realloc(NET *net, size_t length); my_bool net_flush(NET *net); my_bool my_net_write(NET *net,const unsigned char *packet, size_t len); my_bool net_write_command(NET *net,unsigned char command, -diff -Naur mysql-5.5.8.orig/include/mysql_com.h mysql-5.5.8/include/mysql_com.h ---- mysql-5.5.8.orig/include/mysql_com.h 2010-12-03 12:58:24.000000000 -0500 -+++ mysql-5.5.8/include/mysql_com.h 2010-12-27 14:27:23.957927198 -0500 -@@ -448,6 +448,7 @@ - void my_net_local_init(NET *net); - void net_end(NET *net); - void net_clear(NET *net, my_bool clear_buffer); -+#define net_realloc mysql_net_realloc /* namespace sanity */ +--- percona-server-5.7.12-5/include/mysql_com.h~ 2016-06-01 09:44:09.000000000 +0300 ++++ percona-server-5.7.12-5/include/mysql_com.h 2016-06-20 09:12:01.301815678 +0300 +@@ -509,6 +509,7 @@ + void net_end(NET *net); + void net_clear(NET *net, my_bool check_buffer); + void net_claim_memory_ownership(NET *net); ++#define net_realloc mysql_net_realloc /* namespace sanity */ my_bool net_realloc(NET *net, size_t length); my_bool net_flush(NET *net); my_bool my_net_write(NET *net,const unsigned char *packet, size_t len);