Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-194

BlobType should implement getBindingType()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-BETA1
    • Fix Version/s: 2.2-BETA2, 2.2
    • Component/s: Schema Managers
    • Labels:
      None
    • Environment:
      PHP 5.3.8
      PostgreSQL 9.1

      Description

      BlobType should implement getBindingType() and return PDO::PARAM_LOB

      Currently (2.2-BETA1) DBAL uses PDO::PARAM_STR and thus stores the data incorrectly.

      Working patch is attached.

      1. fix.patch
        0.4 kB
        Nikolai Spassoff

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Nikolai Spassoff
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: