summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-08-06 21:53:49 +0300
committerSergei Golubchik <serg@mariadb.org>2017-08-24 01:05:52 +0200
commitb6c5657ef27de034439b1505a8b4815c263d6455 (patch)
treea0bcef3957b1e7f5f7e8423f245ffce97f5e6ae5 /sql/sql_statistics.cc
parentffb17a6509168c34465f4d3b0605a3b4198c05ef (diff)
downloadmariadb-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