MDEV-25107 Check TABLE miscalutates the length of column

- This is caused by merge commit a26e7a37.
InnoDB fails to fetch the next index field when there is a externally
stored column length check involved.
parent fa5f6068
...@@ -4673,7 +4673,7 @@ btr_index_rec_validate( ...@@ -4673,7 +4673,7 @@ btr_index_rec_validate(
ulint extern_len = mach_read_from_4( ulint extern_len = mach_read_from_4(
data + len + BTR_EXTERN_LEN + 4); data + len + BTR_EXTERN_LEN + 4);
if (fixed_size == extern_len) { if (fixed_size == extern_len) {
continue; goto next_field;
} }
} }
} }
...@@ -4708,7 +4708,7 @@ btr_index_rec_validate( ...@@ -4708,7 +4708,7 @@ btr_index_rec_validate(
} }
return(FALSE); return(FALSE);
} }
next_field:
field++; field++;
} }
......
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