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

SQL Server doModifyLimitQuery() quoting of doctrine_rownum causes error #159

Merged
merged 1 commit into from Jul 5, 2012

Conversation

dt-creasis
Copy link
Contributor

SQL Server doesn't like the quoted alias for doctrine_rownum and fails when setting setMaxResults() and setFirstResult() in query, returning an error like "Conversion failed when converting the varchar value 'doctrine_rownum' to data type int. (severity 16)"

Not sure why the column alias is quoted as have never seen that used before.

…s when setting setMaxResults() and setFirstResult() in query, returning an error like "Conversion failed when converting the varchar value 'doctrine_rownum' to data type int. (severity 16)"
@travisbot
Copy link

This pull request passes (merged 129394c into e537745).

beberlei added a commit that referenced this pull request Jul 5, 2012
SQL Server doModifyLimitQuery() quoting of doctrine_rownum causes error
@beberlei beberlei merged commit 0760d95 into doctrine:master Jul 5, 2012
@beberlei
Copy link
Member

beberlei commented Jul 5, 2012

You forgot to run the testsuite. This breaks one test

@stof
Copy link
Member

stof commented Jul 5, 2012

@beberlei according to @travisbot, it was passing one month ago when the PR was sent

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.

None yet

4 participants