Upon creation, a sth inherits the attributes of its dbh. However, changing the attributes of the dbh doesn't change those of a previously created sth. That means if it's a sth method is raising the error, it's the sth's RaiseError you must reset:
$sth->{RaiseError} = 0;
456449 confirms this is your problem.
In reply to Re: Toggling dbi attribute within a connection?
by ikegami
in thread Toggling dbi attribute within a connection?
by JupiterCrash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |