[CONCPP-48] executeQuery(SQLString query) should not be allowed for prepared statements Created: 2020-11-13  Updated: 2020-11-23  Resolved: 2020-11-15

Status: Closed
Project: MariaDB Connector/C++
Component/s: General
Affects Version/s: 0.9.3
Fix Version/s: 0.9.4

Type: Bug Priority: Major
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

JDBC says so, and it does not make sense to allow this. Moreover, currently it puts connector into eternal loop.
Should throw and an exception, aparently
Also, the same is true for execute(Large)Update family of methods with parameters, addBatch(const SQLString&) and execute with parameters



 Comments   
Comment by Lawrin Novitsky [ 2020-11-15 ]

Commit 36def42

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