[ODBC-95] Batch query with non-preparable statement will crash the connector Created: 2017-05-15 Updated: 2017-05-15 Resolved: 2017-05-15 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | 2.0.14 |
| Fix Version/s: | 3.0.1, 2.0.15 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The crash happens later at the attempt to free stmt handle. To repeat it EXPECT_STMT(Stmt, SQLPrepare(Stmt, "SELECT 1;INSERT INTO non_existing VALUES(2)", SQL_NTS), SQL_ERROR); |
| Comments |
| Comment by Lawrin Novitsky [ 2017-05-15 ] |
|
The fax and the tescase have been pushed to odbc-2.0 as 4b805ecaf86b1761982d64521dee593fd6928c26 |