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
0ea12179
Commit
0ea12179
authored
Jun 29, 2007
by
antony@anubis.xiphis.org
Browse files
Options
Browse Files
Download
Plain Diff
Merge anubis.xiphis.org:/usr/home/antony/work/p2-bug25511.5
into anubis.xiphis.org:/usr/home/antony/work/p2-bug25513.5
parents
fc241de3
68af862c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/my_base.h
include/my_base.h
+2
-3
sql/ha_federated.cc
sql/ha_federated.cc
+4
-0
No files found.
include/my_base.h
View file @
0ea12179
...
@@ -170,9 +170,8 @@ enum ha_extra_function {
...
@@ -170,9 +170,8 @@ enum ha_extra_function {
HA_EXTRA_DELETE_CANNOT_BATCH
,
HA_EXTRA_DELETE_CANNOT_BATCH
,
HA_EXTRA_UPDATE_CANNOT_BATCH
,
HA_EXTRA_UPDATE_CANNOT_BATCH
,
/*
/*
Inform handler that write_row() should immediately report constraint
Inform handler that an "INSERT...ON DUPLICATE KEY UPDATE" will be
violations because a INSERT...ON DUPLICATE KEY UPDATE is in being
executed. This condition is unset by HA_EXTRA_NO_IGNORE_DUP_KEY.
performed.
*/
*/
HA_EXTRA_INSERT_WITH_UPDATE
HA_EXTRA_INSERT_WITH_UPDATE
};
};
...
...
sql/ha_federated.cc
View file @
0ea12179
...
@@ -2727,6 +2727,10 @@ int ha_federated::extra(ha_extra_function operation)
...
@@ -2727,6 +2727,10 @@ int ha_federated::extra(ha_extra_function operation)
replace_duplicates
=
TRUE
;
replace_duplicates
=
TRUE
;
break
;
break
;
case
HA_EXTRA_WRITE_CANNOT_REPLACE
:
case
HA_EXTRA_WRITE_CANNOT_REPLACE
:
/*
We use this flag to ensure that we do not create an "INSERT IGNORE"
statement when inserting new rows into the remote table.
*/
replace_duplicates
=
FALSE
;
replace_duplicates
=
FALSE
;
break
;
break
;
case
HA_EXTRA_INSERT_WITH_UPDATE
:
case
HA_EXTRA_INSERT_WITH_UPDATE
:
...
...
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