mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-01 18:25:59 +00:00
PT-133 Fixed sandbox won't start if autocommit=0 in my.cnf
This commit is contained in:
@@ -2,6 +2,7 @@ Changelog for Percona Toolkit
|
||||
|
||||
v3.0.3
|
||||
|
||||
* Fixed bug PT-133 : Sandbox won't start correctly if autocommit=0 in my.cnf
|
||||
* Fixed bug PT-132 : pt-online-schema-change should imply --no-drop-new-table
|
||||
* Fixed bug PT-130 : Fixed pt-mext not working with not empty Rsa_public_key
|
||||
* Fixed bug PT-128 : pt-stalk ps include memory usage outputs
|
||||
|
@@ -1,3 +1,4 @@
|
||||
SET autocommit=1;
|
||||
DROP DATABASE IF EXISTS `sakila`;
|
||||
CREATE DATABASE `sakila`;
|
||||
USE `sakila`;
|
||||
@@ -449,3 +450,6 @@ LEFT JOIN sakila.film_category fc
|
||||
LEFT JOIN sakila.category c
|
||||
ON fc.category_id = c.category_id
|
||||
GROUP BY a.actor_id, a.first_name, a.last_name;
|
||||
|
||||
COMMIT;
|
||||
FLUSH TABLES;
|
||||
|
@@ -350,7 +350,7 @@ case $opt in
|
||||
../util/check-load-data
|
||||
|
||||
ping=$(/tmp/12345/use -ss -e "SELECT MD5(RAND())")
|
||||
/tmp/12345/use -e "REPLACE INTO percona_test.sentinel (id, ping) VALUES (1, '$ping')";
|
||||
/tmp/12345/use -e "SET AUTOCOMMIT=1; REPLACE INTO percona_test.sentinel (id, ping) VALUES (1, '$ping')";
|
||||
echo -n "Waiting for replication to finish..."
|
||||
for i in $(_seq 60); do
|
||||
pong=$(/tmp/12347/use -ss -e "SELECT ping FROM percona_test.sentinel WHERE id=1 AND ping='$ping'" 2>/dev/null)
|
||||
|
Reference in New Issue
Block a user