mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Added support for auto_increment of partial key
This commit is contained in:
parent
656755c437
commit
00fa471d5a
1 changed files with 3 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue