Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
313a14f7
Commit
313a14f7
authored
Dec 09, 2016
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failures.
parent
72fd15f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
9 deletions
+19
-9
mysql-test/suite/galera/r/galera_var_dirty_reads.result
mysql-test/suite/galera/r/galera_var_dirty_reads.result
+9
-6
mysql-test/suite/galera/suite.pm
mysql-test/suite/galera/suite.pm
+1
-0
mysql-test/suite/galera/t/galera_var_dirty_reads.test
mysql-test/suite/galera/t/galera_var_dirty_reads.test
+9
-3
No files found.
mysql-test/suite/galera/r/galera_var_dirty_reads.result
View file @
313a14f7
...
...
@@ -18,19 +18,22 @@ SET @@session.wsrep_dirty_reads=ON;
SELECT * FROM t1;
i
1
#
# MDEV-11016: wsrep_node_is_ready() check is too strict
#
SET @@session.wsrep_dirty_reads=OFF;
SELECT 2;
2
2
SELECT @@max_allowed_packet;
@@max_allowed_packet
4194304
SELECT 2+2 from DUAL;
2+2
4
SELECT sysdate() from DUAL;
sysdate()
2016-10-28 23:13:06
SET @VAR=1;
SELECT @VAR;
@VAR
1
SELECT @@max_allowed_packet;
SELECT SYSDATE() from DUAL;
SELECT * FROM t1;
i
1
...
...
mysql-test/suite/galera/suite.pm
View file @
313a14f7
...
...
@@ -37,6 +37,7 @@ push @::global_suppressions,
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|
,
qr|WSREP: no nodes coming from prim view, prim not possible|
,
qr(WSREP: SYNC message from member .* in non-primary configuration. Ignored.)
,
qr(WSREP: discarding established .*)
,
);
...
...
mysql-test/suite/galera/t/galera_var_dirty_reads.test
View file @
313a14f7
...
...
@@ -39,12 +39,18 @@ SET @@session.wsrep_dirty_reads=ON;
SELECT
*
FROM
t1
;
#Select query which does not access table should be allowed MDEV-11016
--
echo
#
--
echo
# MDEV-11016: wsrep_node_is_ready() check is too strict
--
echo
#
SET
@@
session
.
wsrep_dirty_reads
=
OFF
;
SELECT
2
;
SELECT
@@
max_allowed_packet
;
SELECT
2
+
2
from
DUAL
;
SELECT
sysdate
()
from
DUAL
;
SET
@
VAR
=
1
;
SELECT
@
VAR
;
--
disable_result_log
SELECT
@@
max_allowed_packet
;
SELECT
SYSDATE
()
from
DUAL
;
--
enable_result_log
--
disable_query_log
--
eval
SET
@@
global
.
wsrep_cluster_address
=
'$wsrep_cluster_address_saved'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment