Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-380

[GH-226] Fix for decimal fields with precision.

    Details

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

      Description

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

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

      Message:

      These fields have no spaces in the length, so the 'explode' fails. Omit the space from the code, and it works. Even if there were a space, it would still work, because of the `array_map("trim", ..)`.

      arr(7)
      [
      "cid" => str(2) "11"
      "name" => str(6) "nummer"
      "type" => str(7) "DECIMAL"
      "notnull" => str(1) "1"
      "dflt_value" => str(1) "0"
      "pk" => str(1) "0"
      "length" => str(4) "18,9"
      ]

        Activity

        Benjamin Eberlei created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.2 [ 10326 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: