1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

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
parent 1ed5fab27b
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)) {