Commit 6517c87a authored by Marko Mäkelä's avatar Marko Mäkelä

rec_convert_dtuple_to_rec(): Correct the debug check.

The "extern" accessor functions return zero or nonzero, not 0 or 1.
parent d1923d4c
......@@ -1225,8 +1225,8 @@ rec_convert_dtuple_to_rec(
== rec_offs_n_fields(offsets));
for (i = 0; i < rec_offs_n_fields(offsets); i++) {
ut_ad(dfield_is_ext(dtuple_get_nth_field(dtuple, i))
== rec_offs_nth_extern(offsets, i));
ut_ad(!dfield_is_ext(dtuple_get_nth_field(dtuple, i))
== !rec_offs_nth_extern(offsets, i));
}
if (UNIV_LIKELY_NULL(heap)) {
......
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