DBD-mysql
DBD-mysql copied to clipboard
Commented placeholders in sql statement. [rt.cpan.org #75540]
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.