Commit 089e0565 authored by mskold@mysql.com's avatar mskold@mysql.com

Added support for auto_increment of partial key

parent 95e0c85a
......@@ -415,7 +415,7 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field,
// Looks like NULL ptr signals length 0 blob
if (blob_ptr == NULL) {
DBUG_ASSERT(blob_len == 0);
blob_ptr= "";
blob_ptr= (char*)"";
}
DBUG_PRINT("value", ("set blob ptr=%x len=%u",
......@@ -3357,7 +3357,8 @@ ha_ndbcluster::ha_ndbcluster(TABLE *table_arg):
m_table_info(NULL),
m_table_flags(HA_REC_NOT_IN_SEQ |
HA_NULL_IN_KEY |
HA_NO_PREFIX_CHAR_KEYS),
HA_AUTO_PART_KEY |
HA_NO_PREFIX_CHAR_KEYS),
m_share(0),
m_use_write(false),
retrieve_all_fields(FALSE),
......
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