Skip to content

Commit ce14cf2

Browse files
committed
Document that named parameters are not supported in bind_param()
1 parent 9bc4bb5 commit ce14cf2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/DBD/mysql.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,10 @@ 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+
"named parameters are unsupported" error is reported.
1731+
17281732
=item mysql_gtids
17291733
17301734
Returns GTID(s) if GTID session tracking is ensabled in the server via

0 commit comments

Comments
 (0)