File tree Expand file tree Collapse file tree 3 files changed +0
-33
lines changed Expand file tree Collapse file tree 3 files changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -18,22 +18,6 @@ SET @@session.wsrep_dirty_reads=ON;
18
18
SELECT * FROM t1;
19
19
i
20
20
1
21
- #
22
- # MDEV-11016: wsrep_node_is_ready() check is too strict
23
- #
24
- SET @@session.wsrep_dirty_reads=OFF;
25
- SELECT 2;
26
- 2
27
- 2
28
- SELECT 2+2 from DUAL;
29
- 2+2
30
- 4
31
- SET @VAR=1;
32
- SELECT @VAR;
33
- @VAR
34
- 1
35
- SELECT @@max_allowed_packet;
36
- SELECT SYSDATE() from DUAL;
37
21
SELECT * FROM t1;
38
22
i
39
23
1
Original file line number Diff line number Diff line change @@ -36,19 +36,6 @@ SET @@session.wsrep_dirty_reads=ON;
36
36
37
37
SELECT * FROM t1;
38
38
39
- --echo #
40
- --echo # MDEV-11016: wsrep_node_is_ready() check is too strict
41
- --echo #
42
- SET @@session.wsrep_dirty_reads=OFF;
43
- SELECT 2;
44
- SELECT 2+2 from DUAL;
45
- SET @VAR=1;
46
- SELECT @VAR;
47
- --disable_result_log
48
- SELECT @@max_allowed_packet;
49
- SELECT SYSDATE() from DUAL;
50
- --enable_result_log
51
-
52
39
--disable_query_log
53
40
--eval SET @@global.wsrep_cluster_address = '$wsrep_cluster_address_saved'
54
41
--enable_query_log
Original file line number Diff line number Diff line change @@ -2635,15 +2635,11 @@ mysql_execute_command(THD *thd)
2635
2635
/*
2636
2636
Bail out if DB snapshot has not been installed. We however,
2637
2637
allow SET and SHOW queries.
2638
- SHOW and SELECT queries (only if wsrep_dirty_reads is set or when it
2639
- does not access ant table)
2640
2638
*/
2641
2639
if (thd->variables .wsrep_on && !thd->wsrep_applier && !wsrep_ready &&
2642
2640
lex->sql_command != SQLCOM_SET_OPTION &&
2643
2641
!(thd->variables .wsrep_dirty_reads &&
2644
2642
lex->sql_command == SQLCOM_SELECT) &&
2645
- !(lex->sql_command == SQLCOM_SELECT &&
2646
- !all_tables) &&
2647
2643
!wsrep_is_show_query (lex->sql_command ))
2648
2644
{
2649
2645
my_message (ER_UNKNOWN_COM_ERROR,
You can’t perform that action at this time.
0 commit comments