Michael Widenius wrote:
>>>>>> "MARK" == MARK CALLAGHAN <mdcallag@stripped> writes:
> Even in normal libraries, there are more and more functions that
> returns error number in case of error (as it makes threaded programs
> faster).
>
>>> Normally you should assume that <> 0 is an error.
>
> MARK> I want a higher standard than this as 'normally' allows for too many
> MARK> exceptions. I don't want to remember those exceptions.
>
> In MySQL code it's an exception that error is 0.
Woohoo! Monty thinks we should start using C++ exceptions! Jim Starkey
will be most pleased! ;)
-jay