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
bb76e143
Commit
bb76e143
authored
Aug 02, 2005
by
sasha@asksasha.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The earlier commit for BUG#10456 did not add the test file
parent
302c85cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
mysql-test/t/rpl_insert_select.test
mysql-test/t/rpl_insert_select.test
+19
-0
No files found.
mysql-test/t/rpl_insert_select.test
0 → 100644
View file @
bb76e143
# Testcase for BUG#10456 - INSERT INTO ... SELECT violating a primary key
# breaks replication
--
source
include
/
master
-
slave
.
inc
connection
master
;
create
table
t1
(
n
int
not
null
primary
key
);
insert
into
t1
values
(
1
);
create
table
t2
(
n
int
);
insert
into
t2
values
(
1
);
insert
ignore
into
t1
select
*
from
t2
;
insert
into
t1
values
(
2
);
sync_slave_with_master
;
connection
slave
;
select
*
from
t1
;
connection
master
;
drop
table
t1
,
t2
;
sync_slave_with_master
;
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