[CONJ-712] RewriteBatchedStatements and useAffectedRows should report no changes correctly Created: 2019-06-10  Updated: 2019-11-22  Resolved: 2019-11-22

Status: Closed
Project: MariaDB Connector/J
Component/s: batch, MySQL compatibility, performance
Affects Version/s: 2.4.0
Fix Version/s: 2.4.2

Type: Bug Priority: Major
Reporter: Pavel Cibulka Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

if rewriteBatchedStatements and useAffectedRows are used connector returns SUCCESS_NO_INFO. This is not necessary for cases, when we know, there was no change.

I have created pull request with patch on github https://github.com/MariaDB/mariadb-connector-j/pull/144

This is improvement of https://jira.mariadb.org/browse/CONJ-384.
Similar problem has been in Mysql connector. It has been fixed in https://bugs.mysql.com/bug.php?id=68562



 Comments   
Comment by Pavel Cibulka [ 2019-11-22 ]

This can be closed. It has been fixed.

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