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
5a9c63ab
Commit
5a9c63ab
authored
Feb 01, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-10949: innodb_disallow_writes does not work as expected
Test seems to pass fine.
parent
867d8680
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-1
mysql-test/suite/galera/r/galera_var_innodb_disallow_writes.result
...t/suite/galera/r/galera_var_innodb_disallow_writes.result
+6
-0
mysql-test/suite/galera/t/galera_var_innodb_disallow_writes.test
...est/suite/galera/t/galera_var_innodb_disallow_writes.test
+2
-0
No files found.
mysql-test/suite/galera/disabled.def
View file @
5a9c63ab
...
...
@@ -54,7 +54,6 @@ galera_pc_ignore_sb : MDEV-13549 Galera test failures 10.1
galera_lock_table : MDEV-13549 Galera test failures 10.1
MW-284 : MDEV-13549 Galera test failures 10.1
galera_as_slave : MDEV-13549 Galera test failures 10.1
galera_var_innodb_disallow_writes : MDEV-10949
galera_kill_applier : race condition at the start of the test
MW-328C: MDEV-13549 Galera test failures 10.1
MW-328A: MDEV-13549 Galera test failures 10.1
...
...
mysql-test/suite/galera/r/galera_var_innodb_disallow_writes.result
View file @
5a9c63ab
...
...
@@ -5,6 +5,12 @@ CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
SET GLOBAL innodb_disallow_writes=ON;
INSERT INTO t1 VALUES (1);;
connection node_1a;
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
0
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
0
SET GLOBAL innodb_disallow_writes=OFF;
connection node_1;
SELECT COUNT(*) = 1 FROM t1;
...
...
mysql-test/suite/galera/t/galera_var_innodb_disallow_writes.test
View file @
5a9c63ab
...
...
@@ -18,8 +18,10 @@ SET GLOBAL innodb_disallow_writes=ON;
--
send
INSERT
INTO
t1
VALUES
(
1
);
--
connection
node_1a
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
let
$wait_condition
=
SELECT
1
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
INFO
=
'INSERT INTO t1 VALUES (1)'
AND
State
=
'query end'
;
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
SET
GLOBAL
innodb_disallow_writes
=
OFF
;
...
...
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