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
8be2c72b
Commit
8be2c72b
authored
Apr 11, 2018
by
Jan Lindström
Committed by
GitHub
Apr 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #699 from codership/MDEV-15808
MDEV-15808 Fix and re-enable test galera.galera_gra_log
parents
2e91eb75
73b3ace8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-1
mysql-test/suite/galera/r/galera_gra_log.result
mysql-test/suite/galera/r/galera_gra_log.result
+1
-1
mysql-test/suite/galera/t/galera_gra_log.test
mysql-test/suite/galera/t/galera_gra_log.test
+1
-2
No files found.
mysql-test/suite/galera/disabled.def
View file @
8be2c72b
...
...
@@ -31,6 +31,5 @@ galera_var_retry_autocommit : MDEV-15794 Test failure on galera.galera_var_retry
galera_var_auto_inc_control_on : MDEV-15803 Test failure on galera.galera_var_auto_inc_control_on
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.galera_pc_ignore_sb : MDEV-15811 Test failure on galera_pc_ignore_sb
mysql-test/suite/galera/r/galera_gra_log.result
View file @
8be2c72b
SET SESSION wsrep_on=OFF;
CREATE TABLE t1 (f1 INTEGER);
CREATE TABLE t1 (f1 INTEGER);
SET SESSION wsrep_on=ON;
SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
...
...
@@ -27,6 +28,5 @@ DELIMITER ;
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
SET SESSION wsrep_on=ON;
CALL mtr.add_suppression("Slave SQL: Error 'Table 't1' already exists' on query");
DROP TABLE t1;
mysql-test/suite/galera/t/galera_gra_log.test
View file @
8be2c72b
...
...
@@ -17,6 +17,7 @@ CREATE TABLE t1 (f1 INTEGER);
CREATE
TABLE
t1
(
f1
INTEGER
);
--
connection
node_2
SET
SESSION
wsrep_on
=
ON
;
SELECT
COUNT
(
*
)
=
0
FROM
t1
;
# Make sure the GRA file produced is readable and contains the failure
...
...
@@ -24,8 +25,6 @@ SELECT COUNT(*) = 0 FROM t1;
--
replace_regex
/
SET
TIMESTAMP
=
[
0
-
9
]
+/
SET
TIMESTAMP
=<
TIMESTAMP
>/
/
pseudo_thread_id
=
[
0
-
9
]
+/
pseudo_thread_id
=<
PSEUDO_THREAD_ID
>/
--
exec
$MYSQL_BINLOG
--
short
-
form
$MYSQLTEST_VARDIR
/
mysqld
.
2
/
data
/
GRA_
*.
log
SET
SESSION
wsrep_on
=
ON
;
CALL
mtr
.
add_suppression
(
"Slave SQL: Error 'Table 't1' already exists' on query"
);
DROP
TABLE
t1
;
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