Fix a build error on Windows, introduced by revision-id:

marko.makela@oracle.com-20101221112722-1yxxzzgqtem8bcm7

The fix was suggested by Jimmy.
This commit is contained in:
Calvin Sun 2010-12-27 22:55:49 -06:00
parent 1d9d7e2526
commit 845e725a51

View file

@ -1683,8 +1683,8 @@ row_upd_clust_rec_by_insert_inherit_func(
len = dfield_get_len(dfield);
ut_a(len != UNIV_SQL_NULL);
ut_a(len >= BTR_EXTERN_FIELD_REF_SIZE);
data = dfield_get_data(dfield) + len
- BTR_EXTERN_FIELD_REF_SIZE;
data = dfield_get_data(dfield);
data += len - BTR_EXTERN_FIELD_REF_SIZE;
/* The pointer must not be zero. */
ut_a(memcmp(data, field_ref_zero, BTR_EXTERN_FIELD_REF_SIZE));
/* The BLOB must be owned. */