ndb - bug#21690: fix typo which changed blob parts distribution

This commit is contained in:
pekka@orca.ndb.mysql.com 2006-12-01 02:06:37 +01:00
parent 4b7e0b5fd9
commit 6758c1679c
2 changed files with 1 additions and 7 deletions

View file

@ -164,12 +164,6 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm
bc.setStorageType(c->getStorageType());
bt.addColumn(bc);
}
// temp fix for bug#21690 - distr key set wrong
{ unsigned x;
bt.getColumn(x=0)->setDistributionKey(true);
bt.getColumn(x=1)->setDistributionKey(true);
bt.getColumn(x=2)->setDistributionKey(false);
}
DBUG_VOID_RETURN;
}

View file

@ -204,7 +204,7 @@ NdbDictionary::Column::getPrimaryKey() const {
void
NdbDictionary::Column::setPartitionKey(bool val){
m_impl.m_distributionKey = true;
m_impl.m_distributionKey = val;
}
bool