Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine DBAL
  • Doctrine DBAL
  • DBAL-131

Remove Static Types

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 2.4
  • Component/s: Drivers
  • Labels:
    None

Description

the static types should be removed and made to instances of types that can differ between platforms.

Following reasons:

1. Some vendors already convert values to PHP types, for example integers. Not converting again could save about 15% wall-time for integers for example.
2. Some vendors require different type code, this is currently handled by expensive if checks.
3. If you want to change a type for one vendor but also use another vendor in the same request, then you have a problem currently.
4. If types were platform aware then we could make registering custom types simpler.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Guilherme Blanco made changes - 20/Dec/11 10:48 PM
Field Original Value New Value
Fix Version/s 2.3 [ 10184 ]
Fix Version/s 2.2 [ 10142 ]
Benjamin Eberlei made changes - 07/Jul/12 2:10 PM
Workflow jira [ 12725 ] jira-feedback2 [ 17576 ]
Benjamin Eberlei made changes - 08/Jul/12 6:23 AM
Workflow jira-feedback2 [ 17576 ] jira-feedback3 [ 19930 ]
Benjamin Eberlei made changes - 20/Sep/12 6:19 AM
Fix Version/s 2.4 [ 10320 ]
Fix Version/s 2.3 [ 10184 ]

People

  • Assignee:
    Benjamin Eberlei
    Reporter:
    Benjamin Eberlei
Vote (0)
Watch (0)

Dates

  • Created:
    19/Jun/11 9:44 AM
    Updated:
    20/Sep/12 6:19 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.