Commit 02819f3e authored by marko's avatar marko

branches/zip: btr_cur_mark_extern_inherited_fields():

Add a call to rec_offs_any_extern() as an optimization.
parent 2505aea7
......@@ -3405,6 +3405,12 @@ btr_cur_mark_extern_inherited_fields(
ut_ad(rec_offs_validate(rec, NULL, offsets));
ut_ad(!rec_offs_comp(offsets) || !rec_get_node_ptr_flag(rec));
if (!rec_offs_any_extern(offsets)) {
return;
}
n = rec_offs_n_fields(offsets);
for (i = 0; i < n; 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