Commit ed8561bf authored by Marko Mäkelä's avatar Marko Mäkelä

rec_init_offsets(): Correctly set the DEFAULT flag for ROW_FORMAT=REDUNDANT

parent b90dd162
...@@ -754,7 +754,8 @@ rec_init_offsets( ...@@ -754,7 +754,8 @@ rec_init_offsets(
} }
if (i < rec_offs_n_fields(offsets)) { if (i < rec_offs_n_fields(offsets)) {
offs = rec_offs_base(offsets)[i] | REC_OFFS_DEFAULT; offs = (rec_offs_base(offsets)[i] & REC_OFFS_MASK)
| REC_OFFS_DEFAULT;
do { do {
rec_offs_base(offsets)[1 + i] = offs; rec_offs_base(offsets)[1 + i] = offs;
......
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