Fork me on GitHub
Subscribe 1

Ticket #85 (fixed bug)

Blank errors from DBLayer::error() when a transaction fails

  • Created: 2010-07-31 18:57:11
  • Reported by: Reines
  • Assigned to: Reines
  • Milestone: 1.4.2
  • Component: database
  • Priority: normal

If a transaction fails it is rolled back, then *_error() is called. Since the transaction has rolled back there is no error so the error message is empty.

We should store the message upon error then perform the rollback afterwards.

History

Reines 2010-07-31 19:22:00

  • Status changed from open to fixed.

This should now be fixed in 9e027a1e3941042b8323.