diff options
author | Joerg Bruehe <joerg@mysql.com> | 2009-07-30 16:12:26 +0200 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2009-07-30 16:12:26 +0200 |
commit | 60021617bdc377b58d03f42f7366362ac02eeb7d (patch) | |
tree | 6478b47c0e56349b05af4780fe7cfc376c98a0d9 /mysql-test/t/user_var.test | |
parent | 26f88fa1d7aa485eed10be7df9e93794d059eabc (diff) | |
download | mariadb-git-60021617bdc377b58d03f42f7366362ac02eeb7d.tar.gz |
Our autoconf function "MYSQL_STACK_DIRECTION" will not work
correctly if the compiler optimizes too clever.
This has happaned on HP-UX 11.23 (IA64) at optimization
level "+O2", causing bug#42213:
Check for "stack overrun" doesn't work, server crashes
Fix it by adding a pragma that prevents this optimization.
As a result, it should be safe to use "+O2" on this platform
(unless there is some other, optimizer-related, bug which
is just currently masked because we use resudec optimization).
Diffstat (limited to 'mysql-test/t/user_var.test')
0 files changed, 0 insertions, 0 deletions