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

storage/ndb/src/ndbapi/NdbBlob.cpp:
  fix typo which made blob PART part of distribution key
storage/ndb/src/ndbapi/NdbDictionary.cpp:
  fix typo which made blob PART part of distribution key
This commit is contained in:
unknown 2006-12-01 02:06:37 +01:00
parent bae9fc077c
commit fe4192c434
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