Commit 6448e6f1 authored by unknown's avatar unknown

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


storage/ndb/src/ndbapi/NdbBlob.cpp:
  currently distr keys must be set at end due to bug
parent 15ede695
...@@ -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