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
057a700a
Commit
057a700a
authored
May 07, 2020
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-22466 : Galera missing .test or .result files
Add missing .test and .result files.
parent
8d3795f1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
25 deletions
+44
-25
mysql-test/suite/galera/r/MW-328C.result
mysql-test/suite/galera/r/MW-328C.result
+0
-25
mysql-test/suite/galera/r/galera_v1_row_events.result
mysql-test/suite/galera/r/galera_v1_row_events.result
+15
-0
mysql-test/suite/galera/t/galera_set_position_after_dummy_writeset.test
...te/galera/t/galera_set_position_after_dummy_writeset.test
+2
-0
mysql-test/suite/galera_sr/t/galera_sr_v1_row_events.test
mysql-test/suite/galera_sr/t/galera_sr_v1_row_events.test
+27
-0
No files found.
mysql-test/suite/galera/r/MW-328C.result
deleted
100644 → 0
View file @
8d3795f1
connection node_2;
connection node_1;
CREATE TABLE t1 (f1 INTEGER AUTO_INCREMENT PRIMARY KEY, f2 CHAR(20) DEFAULT 'abc') ENGINE=InnoDB;
INSERT INTO t1 (f1) VALUES (1);
CREATE TABLE t2 (f1 CHAR(20)) ENGINE=InnoDB;
CREATE PROCEDURE proc_update ()
BEGIN
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
SET SESSION wsrep_sync_wait = 0;
WHILE 1 DO
UPDATE t1 SET f2 = LEFT(MD5(RAND()), 4);
END WHILE;
END|
connect node_1X, 127.0.0.1, root, , test, $NODE_MYPORT_1;
connection node_1X;
CALL proc_update();;
connection node_2;
SET SESSION wsrep_retry_autocommit = 10000;
connection node_1;
connection node_1X;
Got one of the listed errors
connection node_1;
DROP PROCEDURE proc_update;
DROP TABLE t1, t2;
CALL mtr.add_suppression("conflict state ABORTED after post commit");
mysql-test/suite/galera/r/galera_v1_row_events.result
0 → 100644
View file @
057a700a
connection node_2;
connection node_1;
CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
connection node_2;
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
1
connection node_1;
UPDATE t1 SET f1 = 2 WHERE f1 = 1;
connection node_2;
SELECT COUNT(*) = 1 FROM t1 WHERE f1 = 2;
COUNT(*) = 1
1
DROP TABLE t1;
mysql-test/suite/galera/t/galera_set_position_after_dummy_writeset.test
View file @
057a700a
...
...
@@ -4,7 +4,9 @@
#
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug_sync
.
inc
--
source
include
/
galera_have_debug_sync
.
inc
--
let
$node_1
=
node_1
--
let
$node_2
=
node_2
...
...
mysql-test/suite/galera_sr/t/galera_sr_v1_row_events.test
0 → 100644
View file @
057a700a
#
# Test that Galera SR continues to run even with --log-bin-use-v1-row-events=1
#
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
CREATE
TABLE
t1
(
f1
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
SET
AUTOCOMMIT
=
OFF
;
START
TRANSACTION
;
INSERT
INTO
t1
VALUES
(
1
);
--
connection
node_2
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
READ
UNCOMMITTED
;
SELECT
COUNT
(
*
)
=
1
FROM
t1
;
--
connection
node_1
COMMIT
;
SET
AUTOCOMMIT
=
ON
;
UPDATE
t1
SET
f1
=
2
WHERE
f1
=
1
;
--
connection
node_2
SELECT
COUNT
(
*
)
=
1
FROM
t1
WHERE
f1
=
2
;
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