From e592d77f14cb4113d2e743d3f8bb8cefda5ced52 Mon Sep 17 00:00:00 2001 From: zYne Date: Sun, 18 Mar 2007 20:00:45 +0000 Subject: [PATCH] --- lib/Doctrine/Connection/Mssql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Connection/Mssql.php b/lib/Doctrine/Connection/Mssql.php index c44ca7115..356c33f00 100644 --- a/lib/Doctrine/Connection/Mssql.php +++ b/lib/Doctrine/Connection/Mssql.php @@ -101,7 +101,7 @@ class Doctrine_Connection_Mssql extends Doctrine_Connection $offset = intval($offset); 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'); @@ -174,7 +174,7 @@ class Doctrine_Connection_Mssql extends Doctrine_Connection */ public function checkSequence($seqName) { - $query = 'SELECT * FROM ' . $seqName; + $query = 'SELECT * FROM ' . $seqName; try { $this->exec($query); } catch(Doctrine_Connection_Exception $e) {