Skip to content

Commit 80d1573

Browse files
committed
Document that named parameters are not supported in bind_param()
1 parent 7bd63ad commit 80d1573

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/DBD/mysql.pm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,11 @@ parameter value and C<execute> the statement again, with other values
17251725
unchanged. The attribute remains properly populated after the C<finish>
17261726
method is called, with the values from the last execution.
17271727
1728+
MySQL does not support named place holders in C<bind_param>. If a
1729+
string is passed to C<bind_param> as the parameter index then a
1730+
`JW_ERR_ILLEGAL_PARAM_NUM` with a message of "named parameters are
1731+
unsupported" error is reported.
1732+
17281733
=item mysql_gtids
17291734
17301735
Returns GTID(s) if GTID session tracking is ensabled in the server via

0 commit comments

Comments
 (0)