commit 5df7e94d2abc0134837ea669fd774d6a9adc75e7 Author: Daniel Black Date: Wed Mar 23 10:32:26 2016 +1100 POWER: TC_LOG_PAGE_SIZE is 64K. log-tc-size=64K*4 diff --git a/mysql-test/include/mysqld--help.inc b/mysql-test/include/mysqld--help.inc index 093ae3c..a11d973 100644 --- a/mysql-test/include/mysqld--help.inc +++ b/mysql-test/include/mysqld--help.inc @@ -56,6 +56,8 @@ perl; s/\b196608\b/262144/; # Replacing port number with string s/^port \d+/port ####/; + # log-tc-size varies to 64K*3 on POWER platform + s/^log-tc-size 262144/log-tc-size 24576/; foreach $var (@env) { s/$ENV{$var}/$var/ } next if /use --skip-(use-)?symbolic-links to disable/; # for valgrind, again next if $skip; diff --git a/sql/sql_class.h b/sql/sql_class.h index bc46199..f4643a0 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -212,7 +212,11 @@ public: }; +#if defined(__powerpc__) +#define TC_LOG_PAGE_SIZE 65536 +#else #define TC_LOG_PAGE_SIZE 8192 +#endif #define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE) typedef struct st_user_var_events