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

        Nikolai Spassoff created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2 [ 10142 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.2-BETA2 [ 10189 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13324 ] jira-feedback2 [ 17773 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17773 ] jira-feedback3 [ 20128 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: