Subject: | do() method doesn't set $dbh->{Statement} |
do() method doesn't set $dbh->{Statement} which means that
a) using DBI::Profile doesn't give correct profile results for calls to do()
b) using ShowErrorStatement may report the wrong statement in the error message.
I've attached a patch, including a test.