ndb - bug#21690 workaround-fix, cleanup in separate patch

parent 365b69dc
...@@ -164,6 +164,12 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm ...@@ -164,6 +164,12 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm
bc.setStorageType(c->getStorageType()); bc.setStorageType(c->getStorageType());
bt.addColumn(bc); 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; DBUG_VOID_RETURN;
} }
......
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