diff options
author | Monty <monty@mariadb.org> | 2017-08-06 21:53:49 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-08-24 01:05:52 +0200 |
commit | b6c5657ef27de034439b1505a8b4815c263d6455 (patch) | |
tree | a0bcef3957b1e7f5f7e8423f245ffce97f5e6ae5 /sql/sql_statistics.cc | |
parent | ffb17a6509168c34465f4d3b0605a3b4198c05ef (diff) | |
download | mariadb-git-b6c5657ef27de034439b1505a8b4815c263d6455.tar.gz |
Reduce stack size
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.
Diffstat (limited to 'sql/sql_statistics.cc')
0 files changed, 0 insertions, 0 deletions