[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);
CHECK_STMT_RC(Stmt, SQLFreeStmt(Stmt, SQL_DROP));



 Comments   
Comment by Lawrin Novitsky [ 2017-05-15 ]

The fax and the tescase have been pushed to odbc-2.0 as 4b805ecaf86b1761982d64521dee593fd6928c26

Generated at Thu Feb 08 03:26:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.