[ODBC-184] For resultset returning statements in a batch SQLRowCount returns 0 Created: 2018-09-13  Updated: 2021-06-07

Status: Open
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.0.6, 2.0.18
Fix Version/s: 3.1

Type: Bug Priority: Major
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Standard only defines behavior of SQLRowCount for statements generating affected rows number, i.e. for upserts etc. For other queries it says it is driver defined.
If resultset is cached it is possible to return row numbers in it. And for single statement queries connector does that. Thus we have at least inconsistency in connector's behavior.
It's not quite clear if it is ok to fix that in terms of maintenance release, or it can break applications using current versions. There are pros and cons


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