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
91251238
Commit
91251238
authored
Feb 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Bug#8412: merged from 4.1
sql/log.cc: Merge from 4.1
parents
47ed1db7
7f138454
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
mysql-test/r/rpl_insert_id.result
mysql-test/r/rpl_insert_id.result
+5
-0
mysql-test/t/rpl_insert_id.test
mysql-test/t/rpl_insert_id.test
+16
-0
sql/log.cc
sql/log.cc
+3
-1
No files found.
mysql-test/r/rpl_insert_id.result
View file @
91251238
...
@@ -68,3 +68,8 @@ b c
...
@@ -68,3 +68,8 @@ b c
9 13
9 13
drop table t1;
drop table t1;
drop table t2;
drop table t2;
SET TIMESTAMP=1000000000;
CREATE TABLE t1 ( a INT UNIQUE );
SET FOREIGN_KEY_CHECKS=0;
INSERT INTO t1 VALUES (1),(1);
Duplicate entry '1' for key 1
mysql-test/t/rpl_insert_id.test
View file @
91251238
...
@@ -61,3 +61,19 @@ drop table t2;
...
@@ -61,3 +61,19 @@ drop table t2;
save_master_pos
;
save_master_pos
;
connection
slave
;
connection
slave
;
sync_with_master
;
sync_with_master
;
#
# Bug#8412: Error codes reported in binary log for CHARACTER SET,
# FOREIGN_KEY_CHECKS
#
connection
master
;
SET
TIMESTAMP
=
1000000000
;
CREATE
TABLE
t1
(
a
INT
UNIQUE
);
SET
FOREIGN_KEY_CHECKS
=
0
;
--
error
1062
INSERT
INTO
t1
VALUES
(
1
),(
1
);
sync_slave_with_master
;
sql/log.cc
View file @
91251238
...
@@ -1737,7 +1737,9 @@ COLLATION_CONNECTION=%u,COLLATION_DATABASE=%u,COLLATION_SERVER=%u",
...
@@ -1737,7 +1737,9 @@ COLLATION_CONNECTION=%u,COLLATION_DATABASE=%u,COLLATION_SERVER=%u",
}
}
}
}
/* Write the SQL command */
/*
Write the SQL command
*/
if
(
event_info
->
write
(
file
))
if
(
event_info
->
write
(
file
))
goto
err
;
goto
err
;
...
...
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