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
fe61e287
Commit
fe61e287
authored
Apr 09, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15810: Test failure on galera.lp1376747 and galera.lp1376747-2
Wait until create table is replicated before continuing.
parent
767d6ce3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
2 deletions
+20
-2
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-2
mysql-test/suite/galera/r/lp1376747-2.result
mysql-test/suite/galera/r/lp1376747-2.result
+3
-0
mysql-test/suite/galera/r/lp1376747.result
mysql-test/suite/galera/r/lp1376747.result
+3
-0
mysql-test/suite/galera/t/lp1376747-2.test
mysql-test/suite/galera/t/lp1376747-2.test
+7
-0
mysql-test/suite/galera/t/lp1376747.test
mysql-test/suite/galera/t/lp1376747.test
+7
-0
No files found.
mysql-test/suite/galera/disabled.def
View file @
fe61e287
...
...
@@ -33,7 +33,5 @@ pxc-421 : MDEV-15804 Test failure on galera.pxc-421
query_cache : MDEV-15805 Test failure on galera.query_cache
galera.galera_gra_log : MDEV-15808 Test failure on galera.galera_gra_log
galera.MW-44 : MDEV-15809 Test failure on galera.MW-44
galera.lp1376747 : MDEV-15810 Test failure on galera.lp1376747
galera.lp1376747-2 : MDEV-15810 Test failure on galera.lp1376747-2
galera.galera_pc_ignore_sb : MDEV-15811 Test failure on galera_pc_ignore_sb
mysql-test/suite/galera/r/lp1376747-2.result
View file @
fe61e287
CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t%';
NAME
test/t1
FLUSH TABLES t1 FOR EXPORT;
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
INSERT INTO t1 VALUES (2,3);
...
...
mysql-test/suite/galera/r/lp1376747.result
View file @
fe61e287
CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t%';
NAME
test/t1
FLUSH TABLES t1 WITH READ LOCK;
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
INSERT INTO t1 VALUES (2,3);
...
...
mysql-test/suite/galera/t/lp1376747-2.test
View file @
fe61e287
...
...
@@ -5,6 +5,13 @@ CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
INSERT
INTO
t1
VALUES
(
1
);
--
connection
node_2
# Wait until above DDL's are replicated
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t%'
;
--
source
include
/
wait_condition
.
inc
SELECT
NAME
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t%'
;
FLUSH
TABLES
t1
FOR
EXPORT
;
--
connection
node_1
...
...
mysql-test/suite/galera/t/lp1376747.test
View file @
fe61e287
...
...
@@ -5,6 +5,13 @@ CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
INSERT
INTO
t1
VALUES
(
1
);
--
connection
node_2
# Wait until above DDL's are replicated
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
1
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t%'
;
--
source
include
/
wait_condition
.
inc
SELECT
NAME
FROM
INFORMATION_SCHEMA
.
INNODB_SYS_TABLES
WHERE
NAME
LIKE
'test/t%'
;
FLUSH
TABLES
t1
WITH
READ
LOCK
;
--
connection
node_1
...
...
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