Commit 1cef1679 authored by unknown's avatar unknown

ndb - bug#18067 [possibly partial] fix


storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
  split pk: over-eager assert in varsize PK case
parent e86ea27b
...@@ -2015,7 +2015,7 @@ split_concatenated_pk(const NdbTableImpl* t, Uint32* ah_buffer, ...@@ -2015,7 +2015,7 @@ split_concatenated_pk(const NdbTableImpl* t, Uint32* ah_buffer,
ah_buffer[n++] = ah.m_value; ah_buffer[n++] = ah.m_value;
sz += ah.getDataSize(); sz += ah.getDataSize();
} }
assert(n == t->m_noOfKeys && sz == pk_sz); assert(n == t->m_noOfKeys && sz <= pk_sz);
} }
int int
......
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