[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: 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. |