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
f2a91e55
Commit
f2a91e55
authored
Jul 26, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addendum to bug 29571: wait for INSERT DELAYED to finish on master
parent
935ce762
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mysql-test/r/rpl_insert_delayed.result
mysql-test/r/rpl_insert_delayed.result
+3
-0
mysql-test/t/rpl_insert_delayed.test
mysql-test/t/rpl_insert_delayed.test
+1
-0
No files found.
mysql-test/r/rpl_insert_delayed.result
View file @
f2a91e55
...
@@ -32,10 +32,12 @@ drop table t1;
...
@@ -32,10 +32,12 @@ drop table t1;
CREATE TABLE t1(a int, UNIQUE(a));
CREATE TABLE t1(a int, UNIQUE(a));
INSERT DELAYED IGNORE INTO t1 VALUES(1);
INSERT DELAYED IGNORE INTO t1 VALUES(1);
INSERT DELAYED IGNORE INTO t1 VALUES(1);
INSERT DELAYED IGNORE INTO t1 VALUES(1);
flush table t1;
show binlog events limit 11,100;
show binlog events limit 11,100;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; flush table t1
select * from t1;
select * from t1;
a
a
1
1
...
@@ -44,6 +46,7 @@ show binlog events limit 12,100;
...
@@ -44,6 +46,7 @@ show binlog events limit 12,100;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; INSERT DELAYED IGNORE INTO t1 VALUES(1)
x x x x x use `test`; flush table t1
select * from t1;
select * from t1;
a
a
1
1
...
...
mysql-test/t/rpl_insert_delayed.test
View file @
f2a91e55
...
@@ -73,6 +73,7 @@ connection master;
...
@@ -73,6 +73,7 @@ connection master;
CREATE
TABLE
t1
(
a
int
,
UNIQUE
(
a
));
CREATE
TABLE
t1
(
a
int
,
UNIQUE
(
a
));
INSERT
DELAYED
IGNORE
INTO
t1
VALUES
(
1
);
INSERT
DELAYED
IGNORE
INTO
t1
VALUES
(
1
);
INSERT
DELAYED
IGNORE
INTO
t1
VALUES
(
1
);
INSERT
DELAYED
IGNORE
INTO
t1
VALUES
(
1
);
flush
table
t1
;
# to wait for INSERT DELAYED to be done
#must show two INSERT DELAYED
#must show two INSERT DELAYED
--
replace_column
1
x
2
x
3
x
4
x
5
x
--
replace_column
1
x
2
x
3
x
4
x
5
x
...
...
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