Commit adcb297a authored by unknown's avatar unknown

Changed delete_row to always get key from record argument, removed unused function

parent 1d913035
......@@ -1130,25 +1130,6 @@ int ha_ndbcluster::set_primary_key_from_record(NdbOperation *op, const byte *old
DBUG_RETURN(0);
}
/*
int ha_ndbcluster::set_primary_key(NdbOperation *op)
{
DBUG_ENTER("set_primary_key");
KEY* key_info= table->key_info + table->primary_key;
KEY_PART_INFO* key_part= key_info->key_part;
KEY_PART_INFO* end= key_part+key_info->key_parts;
for (; key_part != end; key_part++)
{
Field* field= key_part->field;
if (set_ndb_key(op, field,
key_part->fieldnr-1, field->ptr))
ERR_RETURN(op->getNdbError());
}
DBUG_RETURN(0);
}
*/
/*
Read one record from NDB using primary key
*/
......
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