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
844936ab
Commit
844936ab
authored
Dec 07, 2007
by
mskold/marty@quadfish.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb
into mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
parents
4dcfb096
6047fb2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+2
-2
No files found.
sql/ha_ndbcluster.cc
View file @
844936ab
...
@@ -588,7 +588,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
...
@@ -588,7 +588,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
err
.
code
,
res
));
err
.
code
,
res
));
if
(
res
==
HA_ERR_FOUND_DUPP_KEY
)
if
(
res
==
HA_ERR_FOUND_DUPP_KEY
)
{
{
uint
error_data
=
(
uint
)
err
.
details
;
char
*
error_data
=
err
.
details
;
uint
dupkey
=
MAX_KEY
;
uint
dupkey
=
MAX_KEY
;
for
(
uint
i
=
0
;
i
<
MAX_KEY
;
i
++
)
for
(
uint
i
=
0
;
i
<
MAX_KEY
;
i
++
)
...
@@ -599,7 +599,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
...
@@ -599,7 +599,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
const
NDBINDEX
*
unique_index
=
const
NDBINDEX
*
unique_index
=
(
const
NDBINDEX
*
)
m_index
[
i
].
unique_index
;
(
const
NDBINDEX
*
)
m_index
[
i
].
unique_index
;
if
(
unique_index
&&
if
(
unique_index
&&
(
uint
)
unique_index
->
getObjectId
()
==
error_data
)
(
uint
)
unique_index
->
getObjectId
()
==
(
int
)
error_data
)
{
{
dupkey
=
i
;
dupkey
=
i
;
break
;
break
;
...
...
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