Commit 85f1c90d authored by vasil's avatar vasil

branches/zip:

Add some clarification to a comment.
parent c2505f9b
...@@ -54,7 +54,8 @@ static const byte supremum_extra_data[] = { ...@@ -54,7 +54,8 @@ static const byte supremum_extra_data[] = {
0x65, 0x6d, 0x75, 0x6d /* "supremum" */ 0x65, 0x6d, 0x75, 0x6d /* "supremum" */
}; };
/** Assert that a block of memory is filled with zero bytes. */ /** Assert that a block of memory is filled with zero bytes.
Compare at most sizeof(field_ref_zero) bytes. */
#define ASSERT_ZERO(b, s) \ #define ASSERT_ZERO(b, s) \
ut_ad(!memcmp(b, field_ref_zero, ut_min(s, sizeof field_ref_zero))) ut_ad(!memcmp(b, field_ref_zero, ut_min(s, sizeof field_ref_zero)))
/** Assert that a BLOB pointer is filled with zero bytes. */ /** Assert that a BLOB pointer is filled with zero bytes. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment