Bug #10577 | Bit_Count does not work properly with variables having binary value. | ||
---|---|---|---|
Submitted: | 12 May 2005 9:37 | Modified: | 13 May 2005 8:36 |
Reporter: | Disha | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.5 Beta | OS: | Windows (Windows 2000 Server) |
Assigned to: | CPU Architecture: | Any |
[12 May 2005 9:37]
Disha
[12 May 2005 10:10]
MySQL Verification Team
Verified on Linux.
[13 May 2005 8:36]
Sergei Golubchik
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: because b'...' returns a *string* the correct query would be select bit_count(ascii(@a));