[CONC-266] mysql_stmt_execute hangs up 2nd time if mysql_stmt_bind_result is called and if mysql_stmt_fetch is not called Created: 2017-07-08 Updated: 2017-07-08 Resolved: 2017-07-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 2.0.0, N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Shin Yoshida | Assignee: | Georg Richter |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Client: Ubuntu 16.04 (Virtual Box on Windows 10) Connector Version |
||
| Description |
|
Function mysql_stmt_execute can hang up under the following conditions. 1. Call mysql_stmt_bind_result in advance. In case of the following sample code, function good_select can be called twice. On the other hand, bad_select works only once.
|
| Comments |
| Comment by Georg Richter [ 2017-07-08 ] |
|
I wasn't able to reproduce this bug with Connector/C 2.3.3 and 3.0.2. Connector/C 2.0.0 is quite old, so please consider to upgrade to latest version. |
| Comment by Shin Yoshida [ 2017-07-08 ] |
|
George As you said, this problem does not occur at the newest version. This is my mistake. |