Doctrine 1
  1. Doctrine 1
  2. DC-305

Oracle adapter statement closeCursor() is not working properly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: Connection
    • Labels:
      None

      Description

      Close cursor method cleans up non-existing array $bind_params, correct variable name is $bindParams. (comment of $bindParams is wrong to because it also speaks about $bind_params)

      Now:

      public function closeCursor()
      {
      $this->bind_params = array();
      return oci_free_statement($this->statement);
      }

      Fix:

      public function closeCursor()
      {
      $this->bindParams = array();
      return oci_free_statement($this->statement);
      }

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Juozas Kaziukenas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: