Bug #68215 when session's thread_id large then 2147483648, the general log threadid <0
Submitted: 29 Jan 2013 10:12 Modified: 28 Feb 2013 16:26
Reporter: wang huai Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Logging Severity:S2 (Serious)
Version:5.5.* OS:Any
Assigned to: CPU Architecture:Any

[29 Jan 2013 10:12] wang huai
Description:
when session's thread_id large then 2147483648, the thread id column in general log file is less then zero, which is wrong 

How to repeat:
open the general log
repeated create a session and then do something which can be write into the general log file, and then close it until the number large then 2147483648, and then you check the general log file, and you can find the thread is is < 0

Suggested fix:
the thread's thread_id is type ulong, but the type of param thread_id of function which write the general log's is int, so it is very explictly.
[29 Jan 2013 10:31] Valeriy Kravchuk
This is probably a duplicate of Bug #65715.
[29 Jan 2013 16:26] MySQL Verification Team
How Valeriy commented it's a duplicate please check with 5.6.9 server. Thanks.
[1 Mar 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".