[CONC-623] Check return code of parameter callback function Created: 2023-01-08  Updated: 2023-01-15  Resolved: 2023-01-15

Status: Closed
Project: MariaDB Connector/C
Component/s: Prepared Statements
Affects Version/s: 3.3.3
Fix Version/s: 3.3.4

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

The (still undocumented) implementation for parameter callback doesn't check the return code of the callback function, so the execute function cannot be cancelled if e.g. the application detected invalid data which shouldn't be processed.

If the parameter callback function returns a non zero value, Connector/C should set an error and cancel the current execution.


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