mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
skip updates with the same server id as self
kill zombie COM_BINLOG_DUMP with the same server id on connect sql/mysql_priv.h: made kill_one_thread global scope sql/slave.cc: skip updates with the same server id as self fixed compiler warning sql/sql_parse.cc: COM_BINLOG_DUMP is followed by a simulation of COM_QUIT for proper thread clean up sql/sql_repl.cc: kill zombie COM_BINLOG_DUMP with the same server id on connect, more verbose binlog_send process status
This commit is contained in:
parent
a9f2a439b4
commit
f97de74c30
4 changed files with 69 additions and 11 deletions
|
|
@ -41,6 +41,7 @@ char *sql_strdup(const char *str);
|
|||
char *sql_strmake(const char *str,uint len);
|
||||
gptr sql_memdup(const void * ptr,unsigned size);
|
||||
void sql_element_free(void *ptr);
|
||||
void kill_one_thread(THD *thd, ulong id);
|
||||
|
||||
#define x_free(A) { my_free((gptr) (A),MYF(MY_WME | MY_FAE | MY_ALLOW_ZERO_PTR)); }
|
||||
#define safeFree(x) { if(x) { my_free((gptr) x,MYF(0)); x = NULL; } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue