migue/liferay-portal — pull request #195 by sammso (2013-11-06 10:18:53+00:00)
Title: LPS-41894

Hi Miguel,

The root cause of this bug was that SQLServerLimitStringUtil was recognizing wrong way of fields of the query. The recognition of the fields of the query is not necessary. So I took that away and there is "*". To make sure that I'm not breaking anything I did increase test coverage.

I have run QueryUtilTest integration tests against SQL Server 2008 R2 and DB2 10 and MySql 5.5 and tested also fix with portal.