rec_convert_dtuple_to_rec(): Correct the debug check.

The "extern" accessor functions return zero or nonzero, not 0 or 1.
This commit is contained in:
Marko Mäkelä 2010-04-21 12:16:11 +03:00
commit 37062fc62f

View file

@ -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)) {