-
Monty authored
WSREP_LOG increased the stack size of all function, where it was used, with 1024 bytes, even if it would never called. What's worse is that one a Mac with Lion 10.7, the stack size was increased with 1024* number of calls per function. By moving WSREP_LOG() to a function, the stack size on Lion in function mysql_execute() was reduced from 18K to 12K. On my main Linux machine with gcc 5.4 the reduction was from 5k to 4k.
b6c5657e