Ticket #741 (closed enhancement: fixed)

Opened 13 months ago

Last modified 8 months ago

Get current transaction(status) for an instance of TDbConnection

Reported by: godzilla Owned by: xue
Priority: low Milestone: 3.1.2
Component: Prado Framework v3 Version: 3.1
Severity: minor Keywords: TDbConnection TDbTransaction
Cc:

Description

It seems that wether MySQL or PDO extension for MySQL doesn't support nested transactions.

This fact cause an PDOException "There is already an active transaction" if calling "TDbConnection::beginTransaction" twice.

Feature request is a method that returns current transaction or status if there is already a transaction running.

Attachments

tdb.patch (3.7 kB) - added by maddin 9 months ago.
Added proposal for this ticket.

Change History

Changed 10 months ago by xue

  • milestone set to 3.1.2

Changed 9 months ago by maddin

Added proposal for this ticket.

Changed 8 months ago by xue

  • status changed from new to closed
  • resolution set to fixed

Added TDbConnection.currentTransaction.

Note: See TracTickets for help on using tickets.