Co-worker changed some code. Code suddenly stops working correctly, but for no apparent reason. Error log didn't make any sense - different stopping point each time. Then finally, it dawned on me...
Little safety tip - create database handles after you do your forking & stuff when working with Oracle.
I'd slap him for moving that line, but then it's partially my own fault for not putting a comment about it in there.
With any database (Score:1)
Re:With any database (Score:1)
Re:With any database (Score:1, Informative)
InactiveDestroy (boolean)
This attribute can be used to disable the database engine related effect of DESTROYing a handle (which would normally close a prepared statement or disconnect from the database etc). For a database handle, this attribute does not disable an explicit call to the disconnect method, only the implicit call from DESTROY.
This at
Re:With any database (Score:1)
I haven't tried it with any others.
At the very least, its not Oracle specific and I'd expect to fail more often than not.