Fix to bug # 565, http://bugs.mariadb.com/show_bug.cgi?id=565
Client flags are now copied to each backend and used in their connections. log_manager.cc: fixed string allocation where one byte was missing. mysql_client.c: fixed string allocation where one byte was missing.
This commit is contained in:
@ -2073,7 +2073,7 @@ static bool logfile_init(
|
||||
char* c;
|
||||
pid_t pid = getpid();
|
||||
int len = strlen(shm_pathname_prefix)+
|
||||
get_decimal_len((size_t)pid);
|
||||
get_decimal_len((size_t)pid) + 1;
|
||||
|
||||
c = (char *)calloc(len, sizeof(char));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user