pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.

This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
This commit is contained in:
Brian Fraser
2012-07-11 17:31:03 -03:00
parent f38512c0d1
commit e9c9608c33
8 changed files with 72 additions and 5 deletions

View File

@@ -51,6 +51,9 @@ make_sandbox() {
if [ -n "$MULTIPLE_BUFFER_POOLS" ]; then
echo "innodb_buffer_pool_instances=$MULTIPLE_BUFFER_POOLS" >> /tmp/$port/my.sandbox.cnf
fi
if [ -n "$LOCAL_INFILE" ]; then
echo "local-infile=$LOCAL_INFILE" >> /tmp/$port/my.sandbox.cnf
fi
# If the sandbox is a slave, set it read_only.
if [ "$type" = "slave" ]; then