Doctrine 1
  1. Doctrine 1
  2. DC-973

Statements with empty results are not correctly closed

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Query
    • Labels:
      None

      Description

      Statements that return no result are not correctly closed in Doctrine_Hydrator_Graph::hydrateResultSet().

      Oracle has limited number of opened cursors, and this bug prevents unsing doctrine in batch task like indexing models with sfSolrPlugin.

      Oracle throws an error `ORA-01000: maximum open cursors exceeded : ` in my case after indexing only 100 records.

      I'll send a pull request via github for this issue.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Miloslav "adrive" Kmet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: