mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
ndb - bug#21690: fix typo which changed blob parts distribution
This commit is contained in:
parent
4b7e0b5fd9
commit
6758c1679c
2 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue