mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
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:
parent
1d9d7e2526
commit
845e725a51
1 changed files with 2 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue