Bug #25879 THD::options isn't set with ulonglong values and variables
Submitted: 26 Jan 2007 19:04 Modified: 15 Feb 2007 4:46
Reporter: Chad MILLER Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version: OS:
Assigned to: Chad MILLER CPU Architecture:Any

[26 Jan 2007 19:04] Chad MILLER
Description:
We ran out of bits lower than 2**31.  Even though "options" has 64 bits to use, 
the functions to set and clear them were still expecting ulong variables.

How to repeat:
.

Suggested fix:
.
[26 Jan 2007 19:04] Chad MILLER
Proposed fix:  http://lists.mysql.com/commits/18871
[26 Jan 2007 19:47] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/18874

ChangeSet@1.2381, 2007-01-26 14:47:12-05:00, cmiller@zippy.cornsilk.net +3 -0
  Bug #25879: THD::options isn't set with ulonglong values and \
  	variables
  
  Bits higher than 2**31 were impossible to set on THD::options.  It's
  probably a remnant from a time when options was a 32-bit integer.
  
  Now, use unsigned long-long constants and variables to set and clear
  THD::options.
  ---
  Pulled comments back to column 49.
[14 Feb 2007 15:10] Chad MILLER
Available in 5.0.36 and 5.1.16-beta.  No doc'n necessary.
[15 Feb 2007 4:46] Paul DuBois
No changelog entry needed.