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

Improve list SQL Server table indexes #300

Merged

Conversation

deeky666
Copy link
Member

@deeky666 deeky666 commented Apr 4, 2013

This PR improves listing table indexes in SQL Server. Currently table indexes are retrieved in the platform via a stored procedure sp_helpindex which causes problems with some SQL Server drivers like ODBC that cannot retrieve information from stored procedure calls. Table indexes are retrieved via native system tables now, which seems cleaner and is more flexible concerning which information to retrieve.
Additionally code duplication in SQLServerSchemaManager::_getPortableTableIndexesList is removed and simplified by this PR.

@doctrinebot
Copy link

Hello,

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:

http://doctrine-project.org/jira/browse/DBAL-486

@beberlei
Copy link
Member

beberlei commented Apr 6, 2013

This works for every SQL Server version?

beberlei added a commit that referenced this pull request Apr 6, 2013
…ndexes

Improve list SQL Server table indexes
@beberlei beberlei merged commit 5a8297a into doctrine:master Apr 6, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants