Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-709

Remove CreateTransaction from ITransaction interface

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.2
    • 2.1.1
    • None
    • None

    Description

      <p>CreateTransaction seems to have been added to the ITransaction interface in a mistaken belief that it would increase parallelisation of DB queries by not immediately starting a transaction. However&nbsp;transactions are always deferred until the first query anyway, so there is no performance gain, and CreateTransaction has been incorrectly used in places where multiple queries should be being executed in a single transaction causing a performance loss and possibly leading to AccessViolation exceptions.</p>

      Attachments

        Activity

          People

            brownard Brownard
            brownard Brownard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: