Bug #86058 | Issue calling mysql_stmt_execute and mysql_real_connect from different thread | ||
---|---|---|---|
Submitted: | 24 Apr 2017 16:15 | Modified: | 26 Apr 2017 21:53 |
Reporter: | Vishnu Rajendran | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | 5.1.73 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[24 Apr 2017 16:15]
Vishnu Rajendran
[25 Apr 2017 7:25]
Chiranjeevi Battula
Hello Vishnu Rajendran, Thank you for the bug report. We suggest you to upgrade according how to mentioned at https://www.mysql.com/support/eol-notice.html Thanks, Chiranjeevi.
[25 Apr 2017 14:33]
Vishnu Rajendran
Do you happen to know what the issue that leads to this behavior? Was it something that was fixed in the next version? It may be difficult to push through an upgrade for this library without mentioning the reason that we want to do this. I'm not sure which release notes I should be checking. If you could give me this information, I could forward this to the team in our company that works on it and we will be able to upgrade the library.
[26 Apr 2017 21:53]
Vishnu Rajendran
To provide some additional info, I am using boost::asio in order to make the requests in the application. I have run a test program that uses pthread and this works. Is there a reason that the one with boost::asio cannot work with this API? As far as I know both the test application and the actual one are issuing asynchronus queries, so it is odd that one works while the other doesn't. I do know that boost::asio is blocking vs pthread which is not, although I make the test application block by adding a sleep in each thread before they receive the result. The test application is still able to work in that case.