From: Michael Widenius Date: September 8 2010 3:31pm Subject: Re: [STYLE] use true/false in C++, not TRUE/FALSE List-Archive: http://lists.mysql.com/internals/38070 Message-Id: <19591.44104.482459.294074@narttu.askmonty.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! >>>>> "MARK" == MARK CALLAGHAN writes: MARK> Behavior like this is unwelcoming to the community. MARK> (my_bool) 255 --> TRUE MARK> (my_bool) 256 --> FALSE MARK> (my_bool) 257 --> TRUE You could say the same about storing things in an int. (int32) 32768 -> -32767 The convention and intention with my_bool is to only store 0 or 1 into it. Any other things are 'not supported'. I find my_bool very descriptive as I know by just looking at the function prototype what kind of values it will return (when it's declared with my_bool). Regards, Monty