for example we have a code:
$dbh->selectall_arrayref(q{
SELECT
*
FROM
table
WHERE
a > ?
AND b > ?
}, undef, 1, 2);
and we want exclude a part of WHERE statement:
$dbh->selectall_arrayref(q{
SELECT
*
FROM
table
WHERE
a > ?
/* AND b > ? */
}, undef, 1, 2);
Previous versions of DBD::mysql allowed this variant, new version will
throw exception because second '?' isn't processed.
I looked through a few big project and found a lot of places such this
example.
I think that it was a bad idea to exclude comments from processing.
please, return back