[CONC-273] -1 for length in mysql_stmt_prepare isn't documented Created: 2017-07-28  Updated: 2017-07-28

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.2
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Anders Karlsson Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Using -1 for the third, length parameter of mysql_stmt_prepare seems to work and is also used in the sample on this page:
https://mariadb.com/kb/en/mariadb/bulk-insert-row-wise-binding/
But it is not documented here:
https://mariadb.com/kb/en/mariadb/mysql_stmt_prepare/

I don't see MySQL documenting -1 as a valid value either, so either we document this as valid (which can potentially break MySQL compatibility) or we don't use it in the samples.


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