← Back to team overview

maria-developers team mailing list archive

Re: INT thread variables in mysql and mariadb (all versions as far as i know)

 

Hi, Rich!

On Apr 08, Rich Prohaska wrote:
> suppose that I have a THDVAR_INT variable with min = -1 and max = 1, and i
> set it to -1.  how come select @@var returns 4294967295 instead of -1?

It's a bug, I've just fixed it in my 5.5 tree.
The fix should be in 5.5.37 and 10.0.11

Regards,
Sergei


References