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
6047fb2e
Commit
6047fb2e
authored
Dec 07, 2007
by
mskold/marty@mysql.com/quadfish.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed illegal cast
parent
fc6f839b
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 @
6047fb2e
...
...
@@ -540,7 +540,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
err
.
code
,
res
));
if
(
res
==
HA_ERR_FOUND_DUPP_KEY
)
{
uint
error_data
=
(
uint
)
err
.
details
;
char
*
error_data
=
err
.
details
;
uint
dupkey
=
MAX_KEY
;
for
(
uint
i
=
0
;
i
<
MAX_KEY
;
i
++
)
...
...
@@ -552,7 +552,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
(
const
NDBINDEX
*
)
m_index
[
i
].
unique_index
;
if
(
unique_index
&&
unique_index
->
getIndexTable
()
&&
(
uint
)
unique_index
->
getIndexTable
()
->
getTableId
()
==
error_data
)
unique_index
->
getIndexTable
()
->
getTableId
()
==
(
int
)
error_data
)
{
dupkey
=
i
;
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