4070 magnus.blaudd@stripped 2012-11-06 [merge]
Merge 7.1 -> 7.2
added:
mysql-test/suite/ndb/t/ndb_cache.cnf
mysql-test/suite/ndb/t/ndb_cache2.cnf
mysql-test/suite/ndb/t/ndb_cache_multi.cnf
mysql-test/suite/ndb/t/ndb_cache_multi2.cnf
mysql-test/suite/ndb/t/ndb_cache_trans.cnf
mysql-test/suite/ndb/t/ndbinfo_cache.cnf
modified:
mysql-test/suite/ndb/r/ndbinfo_cache.result
mysql-test/suite/ndb/t/ndbinfo_cache.test
mysql-test/suite/ndb_rpl/t/ndb_rpl_basic.test
mysql-test/suite/ndb_rpl/t/ndb_rpl_circular_2ch.cnf
4069 magnus.blaudd@stripped 2012-11-06 [merge]
Merge
renamed:
mysql-test/suite/rpl_ndb/r/rpl_ndb_dist_priv.result => mysql-test/suite/ndb_rpl/r/ndb_rpl_dist_priv.result
mysql-test/suite/rpl_ndb/t/rpl_ndb_dist_priv.test => mysql-test/suite/ndb_rpl/t/ndb_rpl_dist_priv.test
modified:
storage/ndb/clusterj/clusterj-test/src/main/java/testsuite/clusterj/AllTests.java
=== modified file 'mysql-test/suite/ndb/r/ndbinfo_cache.result'
--- a/mysql-test/suite/ndb/r/ndbinfo_cache.result 2011-02-01 14:58:21 +0000
+++ b/mysql-test/suite/ndb/r/ndbinfo_cache.result 2012-11-01 14:10:31 +0000
@@ -12,5 +12,4 @@ Qcache_queries_in_cache 0
show status like "Qcache_inserts";
Variable_name Value
Qcache_inserts 0
-SET GLOBAL query_cache_size=default;
-SET GLOBAL query_cache_type=default;
+SET GLOBAL query_cache_size=0;
=== added file 'mysql-test/suite/ndb/t/ndb_cache.cnf'
--- a/mysql-test/suite/ndb/t/ndb_cache.cnf 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/ndb/t/ndb_cache.cnf 2012-11-01 14:00:12 +0000
@@ -0,0 +1,8 @@
+!include ../my.cnf
+
+[mysqld]
+# Enable query cache support but set size to 0 in order
+# to allow the query cache to be dynamically configured
+# also in the future
+query_cache_type=1
+query_cache_size=0
=== added file 'mysql-test/suite/ndb/t/ndb_cache2.cnf'
--- a/mysql-test/suite/ndb/t/ndb_cache2.cnf 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/ndb/t/ndb_cache2.cnf 2012-11-01 14:00:12 +0000
@@ -0,0 +1 @@
+!include ndb_cache.cnf
=== added file 'mysql-test/suite/ndb/t/ndb_cache_multi.cnf'
--- a/mysql-test/suite/ndb/t/ndb_cache_multi.cnf 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/ndb/t/ndb_cache_multi.cnf 2012-11-01 14:00:12 +0000
@@ -0,0 +1 @@
+!include ndb_cache.cnf
=== added file 'mysql-test/suite/ndb/t/ndb_cache_multi2.cnf'
--- a/mysql-test/suite/ndb/t/ndb_cache_multi2.cnf 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/ndb/t/ndb_cache_multi2.cnf 2012-11-01 14:00:12 +0000
@@ -0,0 +1 @@
+!include ndb_cache.cnf
=== added file 'mysql-test/suite/ndb/t/ndb_cache_trans.cnf'
--- a/mysql-test/suite/ndb/t/ndb_cache_trans.cnf 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/ndb/t/ndb_cache_trans.cnf 2012-11-01 14:00:12 +0000
@@ -0,0 +1 @@
+!include ndb_cache.cnf
=== added file 'mysql-test/suite/ndb/t/ndbinfo_cache.cnf'
--- a/mysql-test/suite/ndb/t/ndbinfo_cache.cnf 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/ndb/t/ndbinfo_cache.cnf 2012-11-01 14:00:12 +0000
@@ -0,0 +1 @@
+!include ndb_cache.cnf
=== modified file 'mysql-test/suite/ndb/t/ndbinfo_cache.test'
--- a/mysql-test/suite/ndb/t/ndbinfo_cache.test 2011-02-01 14:58:21 +0000
+++ b/mysql-test/suite/ndb/t/ndbinfo_cache.test 2012-11-01 14:10:31 +0000
@@ -24,8 +24,6 @@ select * from counters;
show status like "Qcache_queries_in_cache";
show status like "Qcache_inserts";
-# Turn off query cache
-SET GLOBAL query_cache_size=default;
-SET GLOBAL query_cache_type=default;
+SET GLOBAL query_cache_size=0;
--source ndbinfo_drop.inc
=== modified file 'mysql-test/suite/ndb_rpl/t/ndb_rpl_basic.test'
--- a/mysql-test/suite/ndb_rpl/t/ndb_rpl_basic.test 2011-06-22 15:41:41 +0000
+++ b/mysql-test/suite/ndb_rpl/t/ndb_rpl_basic.test 2012-11-06 08:31:04 +0000
@@ -189,10 +189,12 @@ set GLOBAL slave_transaction_retries=1;
--echo **** On Master ****
UPDATE t1 SET `nom`="DEAD" WHERE `nid`=1;
---echo **** On Slave ****
# Wait for deadlock to be detected.
# When detected, the slave will stop, so we just wait for it to stop.
-connection slave;
+# Use different connection to slave to avoid implicit commit
+# caused by START SLAVE
+--connection slave1
+--echo **** On Slave ****
# Replication should have stopped, since max retries were not enough.
# verify with show slave status
@@ -212,7 +214,9 @@ source include/start_slave.inc;
# retries have been made. See BUG#35183.
sleep 5;
-# commit transaction to release lock on row and let replication succeed
+# Switch back to the slave connection with the lock and commit the
+# transaction to release lock on row and let replication succeed
+--connection slave
select * from t1 order by nid;
COMMIT;
=== modified file 'mysql-test/suite/ndb_rpl/t/ndb_rpl_circular_2ch.cnf'
--- a/mysql-test/suite/ndb_rpl/t/ndb_rpl_circular_2ch.cnf 2011-06-20 10:41:04 +0000
+++ b/mysql-test/suite/ndb_rpl/t/ndb_rpl_circular_2ch.cnf 2012-11-06 08:31:04 +0000
@@ -5,6 +5,10 @@
# All MySQLDs log-apply-status
# Infinite loops broken in the test using Ignore_server_ids mechanism
+[cluster_config.slave]
+# Add extra mysqld to second cluster
+mysqld=,
+
[mysqld.1.1]
server-id= 1
log-bin
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-5.5-cluster-7.2 branch (magnus.blaudd:4069 to 4070) | magnus.blaudd | 6 Nov |