Commit 805551ea authored by tomas@poseidon.ndb.mysql.com's avatar tomas@poseidon.ndb.mysql.com

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1

into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
parents 69f0e87b e61bfafa
...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment