Commit 44387227 authored by marko's avatar marko

branches/zip: row_ext_cache_fill(): Add an assertion that some BLOB data

was actually fetched.  ext->len[i] == 0 is reserved to mean an uninitialized
BLOB pointer.
parent 6a6d7a9b
...@@ -43,6 +43,7 @@ row_ext_cache_fill( ...@@ -43,6 +43,7 @@ row_ext_cache_fill(
ext->len[i] = btr_copy_externally_stored_field_prefix( ext->len[i] = btr_copy_externally_stored_field_prefix(
buf, buf,
REC_MAX_INDEX_COL_LEN, zip_size, field, f_len); REC_MAX_INDEX_COL_LEN, zip_size, field, f_len);
ut_a(ext->len[i]);
} }
/************************************************************************ /************************************************************************
......
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