in reply to Testing if DBI has a commit pending?
Other than using the Executed attribute to determine whether 'something' has been done or not, I doubt you can get this information from DBI. DBI could tell you if a transaction was started, if commands were sent to the database server, and whether or not that transaction had been committed or rolled back, but the problem is that it couldn't reliably tell whether the commands that were sent to the database resulted in changes that need to be committed or not.
Long story short, this isn't something you should be asking DBI, it's a question you would have to pose to your database, and how you find that information is going to be database dependent.
| We're not surrounded, we're in a target-rich environment! |
|---|
|
|---|