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
a51fccc8
Commit
a51fccc8
authored
Apr 14, 2011
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge test case fix from MariaDB 5.2-rpl into 5.3.
parents
613d49cd
d02d5262
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mysql-test/suite/innodb_plugin/r/group_commit.result
mysql-test/suite/innodb_plugin/r/group_commit.result
+2
-0
mysql-test/suite/innodb_plugin/t/group_commit.test
mysql-test/suite/innodb_plugin/t/group_commit.test
+2
-0
No files found.
mysql-test/suite/innodb_plugin/r/group_commit.result
View file @
a51fccc8
...
@@ -7,6 +7,7 @@ SET DEBUG_SYNC= "commit_before_get_LOCK_commit_ordered SIGNAL group1_running WAI
...
@@ -7,6 +7,7 @@ SET DEBUG_SYNC= "commit_before_get_LOCK_commit_ordered SIGNAL group1_running WAI
INSERT INTO t1 VALUES ("con1");
INSERT INTO t1 VALUES ("con1");
set DEBUG_SYNC= "now WAIT_FOR group1_running";
set DEBUG_SYNC= "now WAIT_FOR group1_running";
SET DEBUG_SYNC= "commit_after_prepare_ordered SIGNAL group2_con2";
SET DEBUG_SYNC= "commit_after_prepare_ordered SIGNAL group2_con2";
SET DEBUG_SYNC= "commit_before_get_LOCK_commit_ordered SIGNAL group2_running";
SET DEBUG_SYNC= "commit_after_release_LOCK_log WAIT_FOR group3_committed";
SET DEBUG_SYNC= "commit_after_release_LOCK_log WAIT_FOR group3_committed";
SET DEBUG_SYNC= "commit_after_group_run_commit_ordered SIGNAL group2_visible WAIT_FOR group2_checked";
SET DEBUG_SYNC= "commit_after_group_run_commit_ordered SIGNAL group2_visible WAIT_FOR group2_checked";
INSERT INTO t1 VALUES ("con2");
INSERT INTO t1 VALUES ("con2");
...
@@ -26,6 +27,7 @@ a
...
@@ -26,6 +27,7 @@ a
con1
con1
SET DEBUG_SYNC= "commit_before_get_LOCK_commit_ordered SIGNAL group3_con5";
SET DEBUG_SYNC= "commit_before_get_LOCK_commit_ordered SIGNAL group3_con5";
SET DEBUG_SYNC= "commit_after_get_LOCK_log SIGNAL con5_leader WAIT_FOR con6_queued";
SET DEBUG_SYNC= "commit_after_get_LOCK_log SIGNAL con5_leader WAIT_FOR con6_queued";
set DEBUG_SYNC= "now WAIT_FOR group2_running";
INSERT INTO t1 VALUES ("con5");
INSERT INTO t1 VALUES ("con5");
SET DEBUG_SYNC= "now WAIT_FOR con5_leader";
SET DEBUG_SYNC= "now WAIT_FOR con5_leader";
SET DEBUG_SYNC= "commit_after_prepare_ordered SIGNAL con6_queued";
SET DEBUG_SYNC= "commit_after_prepare_ordered SIGNAL con6_queued";
...
...
mysql-test/suite/innodb_plugin/t/group_commit.test
View file @
a51fccc8
...
@@ -37,6 +37,7 @@ send INSERT INTO t1 VALUES ("con1");
...
@@ -37,6 +37,7 @@ send INSERT INTO t1 VALUES ("con1");
connection
con2
;
connection
con2
;
set
DEBUG_SYNC
=
"now WAIT_FOR group1_running"
;
set
DEBUG_SYNC
=
"now WAIT_FOR group1_running"
;
SET
DEBUG_SYNC
=
"commit_after_prepare_ordered SIGNAL group2_con2"
;
SET
DEBUG_SYNC
=
"commit_after_prepare_ordered SIGNAL group2_con2"
;
SET
DEBUG_SYNC
=
"commit_before_get_LOCK_commit_ordered SIGNAL group2_running"
;
SET
DEBUG_SYNC
=
"commit_after_release_LOCK_log WAIT_FOR group3_committed"
;
SET
DEBUG_SYNC
=
"commit_after_release_LOCK_log WAIT_FOR group3_committed"
;
SET
DEBUG_SYNC
=
"commit_after_group_run_commit_ordered SIGNAL group2_visible WAIT_FOR group2_checked"
;
SET
DEBUG_SYNC
=
"commit_after_group_run_commit_ordered SIGNAL group2_visible WAIT_FOR group2_checked"
;
send
INSERT
INTO
t1
VALUES
(
"con2"
);
send
INSERT
INTO
t1
VALUES
(
"con2"
);
...
@@ -70,6 +71,7 @@ SELECT * FROM t1 ORDER BY a;
...
@@ -70,6 +71,7 @@ SELECT * FROM t1 ORDER BY a;
connection
con5
;
connection
con5
;
SET
DEBUG_SYNC
=
"commit_before_get_LOCK_commit_ordered SIGNAL group3_con5"
;
SET
DEBUG_SYNC
=
"commit_before_get_LOCK_commit_ordered SIGNAL group3_con5"
;
SET
DEBUG_SYNC
=
"commit_after_get_LOCK_log SIGNAL con5_leader WAIT_FOR con6_queued"
;
SET
DEBUG_SYNC
=
"commit_after_get_LOCK_log SIGNAL con5_leader WAIT_FOR con6_queued"
;
set
DEBUG_SYNC
=
"now WAIT_FOR group2_running"
;
send
INSERT
INTO
t1
VALUES
(
"con5"
);
send
INSERT
INTO
t1
VALUES
(
"con5"
);
connection
con6
;
connection
con6
;
...
...
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