File tree Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ galera.MW-328A : have_deadlocks test not stable
30
30
galera_var_retry_autocommit : MDEV-15794 Test failure on galera.galera_var_retry_autocommit
31
31
galera_var_auto_inc_control_on : MDEV-15803 Test failure on galera.galera_var_auto_inc_control_on
32
32
query_cache : MDEV-15805 Test failure on galera.query_cache
33
- galera.MW-44 : MDEV-15809 Test failure on galera.MW-44
33
+
Original file line number Diff line number Diff line change 1
- SET @@global.wsrep_replicate_myisam= OFF;
1
+ SET GLOBAL general_log=' OFF' ;
2
2
TRUNCATE TABLE mysql.general_log;
3
3
SELECT COUNT(*) from mysql.general_log;
4
4
COUNT(*)
5
- 1
5
+ 0
6
+ SELECT * FROM mysql.general_log;
7
+ event_time user_host thread_id server_id command_type argument
8
+ SET GLOBAL general_log='OFF';
6
9
TRUNCATE TABLE mysql.general_log;
7
10
SELECT COUNT(*) from mysql.general_log;
8
11
COUNT(*)
9
- 1
12
+ 0
13
+ SELECT * FROM mysql.general_log;
14
+ event_time user_host thread_id server_id command_type argument
15
+ SET GLOBAL general_log='ON';
10
16
SELECT COUNT(*) from mysql.general_log;
11
17
COUNT(*)
12
18
1
@@ -18,8 +24,8 @@ SET SESSION wsrep_osu_method=TOI;
18
24
SELECT COUNT(*) = 2 FROM mysql.general_log WHERE argument LIKE 'CREATE%' OR argument LIKE 'ALTER%';
19
25
COUNT(*) = 2
20
26
1
27
+ SET GLOBAL general_log='ON';
21
28
SELECT COUNT(*) = 0 FROM mysql.general_log WHERE argument NOT LIKE 'SELECT%';
22
29
COUNT(*) = 0
23
30
1
24
31
DROP TABLE t1;
25
- SET @@global.wsrep_replicate_myisam=Default;
Original file line number Diff line number Diff line change 5
5
--source include/galera_cluster.inc
6
6
--source include/have_innodb.inc
7
7
8
- SET @@global.wsrep_replicate_myisam=OFF;
9
8
--connection node_1
9
+ SET GLOBAL general_log='OFF';
10
10
TRUNCATE TABLE mysql.general_log;
11
11
SELECT COUNT(*) from mysql.general_log;
12
+ SELECT * FROM mysql.general_log;
12
13
13
14
--connection node_2
15
+ SET GLOBAL general_log='OFF';
14
16
TRUNCATE TABLE mysql.general_log;
15
17
SELECT COUNT(*) from mysql.general_log;
18
+ SELECT * FROM mysql.general_log;
16
19
17
20
--connection node_1
21
+ SET GLOBAL general_log='ON';
18
22
SELECT COUNT(*) from mysql.general_log;
19
23
SET SESSION wsrep_osu_method=TOI;
20
24
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
@@ -25,6 +29,7 @@ SET SESSION wsrep_osu_method=TOI;
25
29
SELECT COUNT(*) = 2 FROM mysql.general_log WHERE argument LIKE 'CREATE%' OR argument LIKE 'ALTER%';
26
30
27
31
--connection node_2
32
+ SET GLOBAL general_log='ON';
28
33
SELECT COUNT(*) = 0 FROM mysql.general_log WHERE argument NOT LIKE 'SELECT%';
29
34
DROP TABLE t1;
30
- SET @@global.wsrep_replicate_myisam=Default;
35
+
You can’t perform that action at this time.
0 commit comments