This commit is contained in:
parent
8bb4d38ee0
commit
e592d77f14
@ -101,7 +101,7 @@ class Doctrine_Connection_Mssql extends Doctrine_Connection
|
|||||||
|
|
||||||
$offset = intval($offset);
|
$offset = intval($offset);
|
||||||
if ($offset < 0) {
|
if ($offset < 0) {
|
||||||
throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");
|
throw new Doctrine_Connection_Exception("LIMIT argument offset=$offset is not valid");
|
||||||
}
|
}
|
||||||
|
|
||||||
$orderby = stristr($query, 'ORDER BY');
|
$orderby = stristr($query, 'ORDER BY');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user