mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02: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:
parent
1ed5fab27b
commit
37062fc62f
1 changed files with 2 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue