diff options
author | 2009-07-06 01:10:00 -0700 | |
---|---|---|
committer | 2009-07-06 01:11:45 -0700 | |
commit | 89dbf609d084eb353c048afa499aba953949f102 (patch) | |
tree | e064822e109ee3a077a475a647900a09ce3aa5b3 /07170_all_safe_s390x_stack_size.patch | |
parent | Fix bug #271475, #elif not valid without an argument. Use #else instead. (diff) | |
download | mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.gz mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.bz2 mysql-extras-89dbf609d084eb353c048afa499aba953949f102.zip |
Need to use 5 digits of numbering now. LOTS of patches to track.
Diffstat (limited to '07170_all_safe_s390x_stack_size.patch')
-rw-r--r-- | 07170_all_safe_s390x_stack_size.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/07170_all_safe_s390x_stack_size.patch b/07170_all_safe_s390x_stack_size.patch new file mode 100644 index 0000000..28c4d3b --- /dev/null +++ b/07170_all_safe_s390x_stack_size.patch @@ -0,0 +1,19 @@ +Patch borrowed from CentOS mysql-stack.patch +Talk about silly byte-shaving ... the "stock" value does not work on s390x, +and probably not on some other platforms either. Knock it up to twice the +pre-5.0.33 value to have some margin for future changes in compiler, glibc, +etc. Suspect this number if "execution_constants" regression test fails. + + +diff -Naur mysql-5.0.38.orig/sql/mysql_priv.h mysql-5.0.38/sql/mysql_priv.h +--- mysql-5.0.38.orig/sql/mysql_priv.h 2007-03-20 15:12:46.000000000 -0400 ++++ mysql-5.0.38/sql/mysql_priv.h 2007-04-16 16:09:39.000000000 -0400 +@@ -175,7 +175,7 @@ + Feel free to raise this by the smallest amount you can to get the + "execution_constants" test to pass. + */ +-#define STACK_MIN_SIZE 12000 // Abort if less stack during eval. ++#define STACK_MIN_SIZE 16384 // Abort if less stack during eval. + + #define STACK_MIN_SIZE_FOR_OPEN 1024*80 + #define STACK_BUFF_ALLOC 256 // For stack overrun checks |