MySQL Forums
Forum List  »  Docs

Storage requirements for a SET
Posted by: Tom Byars
Date: April 05, 2006 10:47AM

The manual states

"The size of a SET object is determined by the number of different set members. If the set size is N, the object occupies (N+7)/8 bytes, rounded up to 1, 2, 3, 4, or 8 bytes."

Should that not be "rounded down"? If not, why not?

Options: ReplyQuote


Subject
Views
Written By
Posted
Storage requirements for a SET
3808
April 05, 2006 10:47AM
2575
April 05, 2006 10:38PM
2345
April 05, 2006 11:37PM
2303
April 06, 2006 03:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.