mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Added support for NULL in unique index
This commit is contained in:
@@ -1851,13 +1851,6 @@ NdbDictInterface::createIndex(Ndb & ndb,
|
||||
m_error.code = 4245;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (it == DictTabInfo::UniqueHashIndex &&
|
||||
(col->m_nullable) && (attributeList.sz > 1)) {
|
||||
// We only support one NULL attribute
|
||||
m_error.code = 4246;
|
||||
return -1;
|
||||
}
|
||||
attributeList.id[i] = col->m_attrId;
|
||||
}
|
||||
if (it == DictTabInfo::UniqueHashIndex) {
|
||||
|
Reference in New Issue
Block a user