Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-689

[GH-433] Fix binding LOB values in mysqli driver prepared statement

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5, 2.4.2
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of deeky666:

      Url: https://github.com/doctrine/dbal/pull/433

      Message:

      Running the DBAL test suite with mysqli driver I get a memory exhaustion in `BlobTest`. This is caused by the `MysqliStatement` trying to bind a LOB value before having stored the result set. According to [this comment](http://php.net/manual/en/mysqli-stmt.bind-result.php#57564) in the PHP docs this is necessary when dealing with LOBs. At least this solves the problem for me.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-433] was closed:
        https://github.com/doctrine/dbal/pull/433

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-433] was closed: https://github.com/doctrine/dbal/pull/433

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: