Mailing List Archive

db schema changes discussion /FLAGS
Hi,
Is it optimal to store each flag in a separate byte?

What about storing the flags as a bit in an int?

This is a little bit more troublesome to handle on the database
client side, but I think it offloads the server some.

But there might be some SQL queries that require access to the
flags, by this way we hide the flags from the database, and they
maybe should not be hidden.

/Magnus