[Maria-developers] INT thread variables in mysql and mariadb (all versions as far as i know)

8 Apr
2014
8 Apr
'14
7:53 a.m.
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?

9 Apr
9 Apr
8:38 a.m.
New subject: [Maria-developers] 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
3973
Age (days ago)
3974
Last active (days ago)
1 comments
2 participants
participants (2)
-
Rich Prohaska
-
Sergei Golubchik