Oops we actually use DBI->prepare_cached() not DBI->prepare() which to
my understanding should be roughly equivalent to (because of
Apache::DBI):
prepare query ....;
begin;
execute query;
commit;
(next page load)
begin;
execute query;
commit;
I can turn that off and only use DBI->prepare() as a test. Or heck
just cut DBI->prepare() out and just quote everything and send them
through using DBI->do() instead. That is if you think that could be
the culprit.