@@ -662,7 +653,7 @@ class MsSqlPlatform extends AbstractPlatform
$query=preg_replace('/^SELECT\s/','',$query);
$start=$offset+1;
$end=$offset+$count;
$end=$offset+$limit;
$query="SELECT * FROM (SELECT ROW_NUMBER() OVER ($over) AS \"doctrine_rownum\", $query) AS doctrine_tbl WHERE \"doctrine_rownum\" BETWEEN $start AND $end";
}
...
...
@@ -671,6 +662,14 @@ class MsSqlPlatform extends AbstractPlatform
return$query;
}
/**
* @override
*/
publicfunctionsupportsLimitOffset()
{
returnfalse;
}
/**
* @override
*/
...
...
@@ -753,7 +752,6 @@ class MsSqlPlatform extends AbstractPlatform