Ingo Strüwing wrote:
> Hi Mark,
>
> MARK CALLAGHAN, 17.10.2009 20:31:
>
> ...
>> * Functions should return zero on success, and non-zero on error,
>> so you can do:
>>
>> Can this be extended to state that these functions should return int
>> rather than bool/my_bool? Some functions today use bool/my_bool and
>> return TRUE on error. I have to read the code for these to figure out
>> whether TRUE is returned on error.
>
> thanks for the suggestion. Is this a formal request to the MySQL Server
> coding style government committee?
>
>
> http://forge.mysql.com/wiki/MySQL_Internals_Coding_Guidelines#How_we_maintain_the_server_coding_guidelines
>
> In this case, please add, what the implementation strategy should be:
> Change all existing code, or let only new code follow the proposal.
If Mark does not submit it, I do.
Best wishes,
Mats Kindahl
--
Mats Kindahl
Senior Software Engineer
Database Technology Group
Sun Microsystems