DBD-mysql icon indicating copy to clipboard operation
DBD-mysql copied to clipboard

Commented placeholders in sql statement. [rt.cpan.org #75540]

Open mbeijen opened this issue 8 years ago • 0 comments
trafficstars

Migrated from rt.cpan.org#75540 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2012-03-05 09:01:59:

With mysql_server_prepare=0 line $dbh->do(qq[update t1 set id=id+1 where /
col1=? and/ id=?],undef,1) gives error "You have an error in your SQL 
syntax;". 
$dbh->prepare->execute works fine.

Test script in attachement.

mbeijen avatar Nov 14 '17 19:11 mbeijen