Uploaded image for project: 'Agroal'
  1. Agroal
  2. AG-93

Prevents calls to setAutoCommit that don't change the auto-commit state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2
    • 1.1
    • pool
    • None

    Description

      Calls to setAutoCommit always set it as a dirty attribute, even if they don't effectively change auto-commit state. This will cause another call to setAutoCommit when returning the connection to the pool.

      Some drivers don't do well with calls to setAutoCommit when in transaction. This change will prevent those calls (as long as it's set to false in the configuration).

      Attachments

        Activity

          People

            lbarreiro-1 Luis Barreiro
            lbarreiro-1 Luis Barreiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: