branches/zip: dtuple_convert_big_rec(): Do not flag the extern field

references uninitialized, because it causes bogus warnings since r1947.
This commit is contained in:
marko 2007-10-05 09:58:24 +00:00
parent b7469c6c2f
commit c3f4b2a547

View file

@ -660,7 +660,13 @@ skip_field:
BTR_EXTERN_FIELD_REF_SIZE),
BTR_EXTERN_FIELD_REF_SIZE);
dfield_set_ext(dfield);
#if 0
/* The following would fail the Valgrind checks in
page_cur_insert_rec_low() and page_cur_insert_rec_zip().
The BLOB pointers in the record will be initialized after
the record and the BLOBs have been written. */
UNIV_MEM_ALLOC(dfield->data, BTR_EXTERN_FIELD_REF_SIZE);
#endif
n_fields++;
(*n_ext)++;
ut_ad(n_fields < dtuple_get_n_fields(entry));