Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBAL-131: Remove Static Types #1267

Closed
doctrinebot opened this issue Jun 19, 2011 · 2 comments
Closed

DBAL-131: Remove Static Types #1267

doctrinebot opened this issue Jun 19, 2011 · 2 comments
Assignees

Comments

@doctrinebot
Copy link

Jira issue originally created by user @beberlei:

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.
@doctrinebot doctrinebot added this to the 2.6 milestone Dec 6, 2015
@Ocramius Ocramius removed this from the 2.6 milestone Jun 29, 2017
@Majkl578 Majkl578 added this to the 3.0.0 milestone May 1, 2018
@morozov morozov removed this from the 4.0.0 milestone May 8, 2022
@morozov
Copy link
Member

morozov commented Aug 6, 2022

Closing as a duplicate of #2841.

@morozov morozov closed this as not planned Won't fix, can't repro, duplicate, stale Aug 6, 2022
@github-actions
Copy link

github-actions bot commented Sep 6, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants