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

parent 4b7e0b5f
......@@ -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;
}
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment