Hi!
On Dec 20, Sergei Golubchik wrote:
> Hi!
>
> On Dec 11, Mark Callaghan wrote:
> > On 12/11/06, Sergei Golubchik <serg@stripped> wrote:
> > >On Dec 11, Mark Callaghan wrote:
> > >
> > >> 3) can a generic error tag be added to HA_ERR* so that neither -1
> > >> nor +1 are used?
> > >
> > >Are HA_ERR* constants good enough ?
> >
> > I don't think that any of the existing HA_ERR* values represent a
> > generic error. The values for 5.0 follow.
> >
> > #define HA_ERR_FIRST 120 /*Copy first error nr.*/
>
> Ok, I see.
> We can add it, but until then you can simply use any number, I suppose.
> It should be safe.
I've just added HA_ERR_GENERIC to 5.1 (not pushed yet, it'll go together
with my fix for ::index_read_idx)
Regards,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Software Developer
/_/ /_/\_, /___/\___\_\___/ Kerpen, Germany
<___/ www.mysql.com