Doctrine 1
  1. Doctrine 1
  2. DC-808

Doctrine_Connection_Statement->execute() Do not pass failing query to Doctrine_Connection->rethrowException()

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Connection
    • Labels:
      None

      Description

      When Doctrine_Connection_Statement->execute() fail on a query, Exception is rethrown by Doctrine_Connection.

      But the failing query is not passed to rethrowException() as third parameter, which make debug very difficult.

      See attached patch file to correct this.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Alexandre Ravey
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: