in reply to Re^2: Mysql query cache and DBI
in thread Mysql query cache and DBI

It turns out the problem is related to transactions and AutoCommit......I had to do a $dbh->commit; after my reads (selects) in order to update the transactions. Once I added the commit after the select for my list_all it fixed the issue.

Replies are listed 'Best First'.
Re^4: Mysql query cache and DBI
by graff (Chancellor) on Nov 07, 2009 at 23:58 UTC
    Ah. That's good to know. And of course, now that it's clear that RowCacheSize had nothing to do with the problem, you probably want to set it back to the default behavior.
Re^4: Mysql query cache and DBI
by reinaldo.gomes (Beadle) on Aug 14, 2018 at 06:28 UTC
    Been banging my head against the wall for the last 24 hours, unable to find out why the heck Thread#2 wouldn't fetch whatever Thread#1 was inserting, even though I could fetch it from CLI or whatever, until I stumbled upon this post...