Commit d234ea1e authored by marko's avatar marko

branches/zip: page_zip_fields_encode(): Assign to trx_id_col after

encoding any pending data.
parent 86ec3c60
......@@ -382,8 +382,6 @@ page_zip_fields_encode(
} else if (val) {
/* fixed-length non-nullable field */
if (i && UNIV_UNLIKELY(i == trx_id_pos)) {
trx_id_col = col;
if (fixed_sum) {
/* Write out the length of any
preceding non-nullable fields,
......@@ -393,6 +391,7 @@ page_zip_fields_encode(
col++;
}
trx_id_col = col;
fixed_sum = field->fixed_len;
} else {
/* add to the sum */
......
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