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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8d2d947a
Commit
8d2d947a
authored
Oct 13, 2015
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix galera_var_dirty_reads test.
parent
fd68a7da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
mysql-test/suite/galera/t/galera_var_dirty_reads.test
mysql-test/suite/galera/t/galera_var_dirty_reads.test
+16
-0
No files found.
mysql-test/suite/galera/t/galera_var_dirty_reads.test
View file @
8d2d947a
...
...
@@ -5,6 +5,14 @@
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
--
disable_query_log
# Save original auto_increment_offset values.
--
connection
node_1
let
$auto_increment_offset_node_1
=
`SELECT @@global.auto_increment_offset`
;
--
connection
node_2
let
$auto_increment_offset_node_2
=
`SELECT @@global.auto_increment_offset`
;
--
enable_query_log
--
connection
node_2
--
let
$wsrep_cluster_address_saved
=
`SELECT @@global.wsrep_cluster_address`
...
...
@@ -41,6 +49,14 @@ SELECT * FROM t1;
# Cleanup
DROP
TABLE
t1
;
--
disable_query_log
# Restore original auto_increment_offset values.
--
connection
node_1
--
eval
SET
@@
global
.
auto_increment_offset
=
$auto_increment_offset_node_1
;
--
connection
node_2
--
eval
SET
@@
global
.
auto_increment_offset
=
$auto_increment_offset_node_2
;
--
enable_query_log
--
source
include
/
galera_end
.
inc
--
echo
# End of test
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