Skip to content

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

Merged
merged 1 commit into from Jul 5, 2012

4 participants

@dt-creasis

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.

@dt-creasis dt-creasis SQL Server doesn't like the quoted alias for doctrine_rownum and fail…
…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)"
129394c
@travisbot

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

@beberlei beberlei merged commit 0760d95 into doctrine:master Jul 5, 2012
@beberlei
Doctrine member
beberlei commented Jul 5, 2012

You forgot to run the testsuite. This breaks one test

@stof
Doctrine 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 join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.