Commit 1656f172 authored by marko's avatar marko

branches/zip: trx_undo_rec_get_partial_row(): When reading an externally

stored column, subtract UNIV_EXTERN_STORAGE_FIELD from the length of
the field.
parent a7344bc8
...@@ -915,6 +915,8 @@ trx_undo_rec_get_partial_row( ...@@ -915,6 +915,8 @@ trx_undo_rec_get_partial_row(
dfield_set_data(dfield, field, len); dfield_set_data(dfield, field, len);
if (len >= UNIV_EXTERN_STORAGE_FIELD) { if (len >= UNIV_EXTERN_STORAGE_FIELD) {
dfield_set_len(dfield,
len - UNIV_EXTERN_STORAGE_FIELD);
dfield_set_ext(dfield); dfield_set_ext(dfield);
ext_cols[n_ext_cols++] = col_no; ext_cols[n_ext_cols++] = col_no;
} }
......
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