Fix for decimal fields with precision. #226

merged 2 commits into from Dec 23, 2012

3 participants


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", ..).

    "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"


thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

@beberlei beberlei merged commit b9ada57 into doctrine:master Dec 23, 2012

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment