summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.mysql.com>2007-04-18 07:50:58 +0200
committerunknown <tomas@poseidon.mysql.com>2007-04-18 07:50:58 +0200
commite70f25c62954ca000abb117dbaa2ab3cebd77e3b (patch)
tree056aa253c858ffbf267e0884c51e348c2824779e /ndb
parent3b943bbebd61172e9bd631d55d116dae4f496cc9 (diff)
downloadmariadb-git-e70f25c62954ca000abb117dbaa2ab3cebd77e3b.tar.gz
use define instead of value
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/kernel/blocks/dbdict/Dbdict.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
index 8f8e8fdfae3..a039c1bdbe7 100644
--- a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+++ b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
@@ -6883,7 +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);
+ w.add(DictTabInfo::SingleUserMode, (Uint32)NDB_SUM_READ_WRITE);
// write index key attributes
AttributeRecordPtr aRecPtr;
c_attributeRecordPool.getPtr(aRecPtr, tablePtr.p->firstAttribute);