I encountered the following text in a man page. Please tell me
that I am not alone in thinking that the "typical" solution
suggested is WTF worthy...
After calling "commit" or "rollback" many drivers will not let you
fetch from a previously active "SELECT" statement handle that's a child
of the same database handle. A typical way round this is to connect the
the database twice and use one connection for "SELECT" statements.
If the programmer really wants to reuse values from a SELECT statement which occurred within a transaction after the transaction is closed, they should …