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
437afbfd
Commit
437afbfd
authored
Jun 30, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adopted ndb handler code for tables without primary key and with unique index
- added missing retrieval of hidden primary key
parent
5d506d6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+6
-0
No files found.
sql/ha_ndbcluster.cc
View file @
437afbfd
...
@@ -1364,6 +1364,12 @@ int ha_ndbcluster::unique_index_read(const byte *key,
...
@@ -1364,6 +1364,12 @@ int ha_ndbcluster::unique_index_read(const byte *key,
m_value
[
i
].
ptr
=
NULL
;
m_value
[
i
].
ptr
=
NULL
;
}
}
}
}
if
(
table
->
primary_key
==
MAX_KEY
)
{
DBUG_PRINT
(
"info"
,
(
"Getting hidden key"
));
if
(
get_ndb_value
(
op
,
NULL
,
i
,
NULL
))
ERR_RETURN
(
op
->
getNdbError
());
}
if
(
execute_no_commit_ie
(
this
,
trans
)
!=
0
)
if
(
execute_no_commit_ie
(
this
,
trans
)
!=
0
)
{
{
...
...
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