Commit dab68417 authored by unknown's avatar unknown

more merge

parent ce295e47
...@@ -99,8 +99,8 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm ...@@ -99,8 +99,8 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm
bt.setFragmentType(t->getFragmentType()); bt.setFragmentType(t->getFragmentType());
{ NdbDictionary::Column bc("PK"); { NdbDictionary::Column bc("PK");
bc.setType(NdbDictionary::Column::Unsigned); bc.setType(NdbDictionary::Column::Unsigned);
assert(t->m_sizeOfKeysInWords != 0); assert(t->m_keyLenInWords != 0);
bc.setLength(t->m_sizeOfKeysInWords); bc.setLength(t->m_keyLenInWords);
bc.setPrimaryKey(true); bc.setPrimaryKey(true);
bc.setDistributionKey(true); bc.setDistributionKey(true);
bt.addColumn(bc); bt.addColumn(bc);
...@@ -113,8 +113,6 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm ...@@ -113,8 +113,6 @@ NdbBlob::getBlobTable(NdbTableImpl& bt, const NdbTableImpl* t, const NdbColumnIm
} }
{ NdbDictionary::Column bc("PART"); { NdbDictionary::Column bc("PART");
bc.setType(NdbDictionary::Column::Unsigned); bc.setType(NdbDictionary::Column::Unsigned);
assert(t->m_keyLenInWords != 0);
bc.setLength(t->m_keyLenInWords);
bc.setPrimaryKey(true); bc.setPrimaryKey(true);
bc.setDistributionKey(false); bc.setDistributionKey(false);
bt.addColumn(bc); bt.addColumn(bc);
......
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