mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-06 04:17:55 +00:00
Add QUERY_CACHE_SIZE to start-sandbox. Make t/pt-upgrade/warnings.t use 12349 instead of 12348, and start it with QUERY_CACHE_SIZE explicitly so MySQL 5.6.8 works.
This commit is contained in:
@@ -98,6 +98,10 @@ make_sandbox() {
|
||||
if [ -n "$LOCAL_INFILE" ]; then
|
||||
echo "local-infile=$LOCAL_INFILE" >> /tmp/$port/my.sandbox.cnf
|
||||
fi
|
||||
if [ -n "$QUERY_CACHE_SIZE" ]; then
|
||||
echo "query_cache_type=1" >> /tmp/$port/my.sandbox.cnf
|
||||
echo "query_cache_size=$QUERY_CACHE_SIZE" >> /tmp/$port/my.sandbox.cnf
|
||||
fi
|
||||
|
||||
# If the sandbox is a slave, set it read_only.
|
||||
if [ "$type" = "slave" ]; then
|
||||
|
Reference in New Issue
Block a user