diff options
author | unknown <kent/mysqldev@mysql.com/production.mysql.com> | 2007-04-17 15:40:38 +0200 |
---|---|---|
committer | unknown <kent/mysqldev@mysql.com/production.mysql.com> | 2007-04-17 15:40:38 +0200 |
commit | 203b805858f54bceb69630c3211ab74e7f138f67 (patch) | |
tree | acd76978f8b80de4d689c2afdc9d5b6b8ef55bca /ndb/src | |
parent | e83e62caae81f0a0049961a32af76bc28ade2b77 (diff) | |
download | mariadb-git-203b805858f54bceb69630c3211ab74e7f138f67.tar.gz |
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
ndb/src/kernel/blocks/dbdict/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
Diffstat (limited to 'ndb/src')
-rw-r--r-- | ndb/src/kernel/blocks/dbdict/Dbdict.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp index b8e2cfca41e..8f8e8fdfae3 100644 --- a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp +++ b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp @@ -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); |