mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Dbdict.cpp:
Bug #27710 Creating unique index fails during single user mode - enable indexes to be used always, if in single user, reject will happen before, and if it is kerlel doing stuff, it should always be allowed
This commit is contained in:
parent
a3f5321025
commit
d22e71fe50
1 changed files with 1 additions and 0 deletions
|
@ -6883,6 +6883,7 @@ Dbdict::createIndex_toCreateTable(Signal* signal, OpCreateIndexPtr opPtr)
|
|||
w.add(DictTabInfo::NoOfKeyAttr, indexPtr.p->noOfPrimkey);
|
||||
w.add(DictTabInfo::NoOfNullable, indexPtr.p->noOfNullAttr);
|
||||
w.add(DictTabInfo::KeyLength, indexPtr.p->tupKeyLength);
|
||||
w.add(DictTabInfo::SingleUserMode, (Uint32)1);
|
||||
// write index key attributes
|
||||
AttributeRecordPtr aRecPtr;
|
||||
c_attributeRecordPool.getPtr(aRecPtr, tablePtr.p->firstAttribute);
|
||||
|
|
Loading…
Add table
Reference in a new issue