mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
skip updates with the same server id as self
kill zombie COM_BINLOG_DUMP with the same server id on connect
This commit is contained in:
@ -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; } }
|
||||
|
Reference in New Issue
Block a user