From 1a52fe7263b7315543b20685ee1b6ebbf3b26de5 Mon Sep 17 00:00:00 2001 From: chtito Date: Tue, 2 Jan 2007 17:23:20 +0000 Subject: [PATCH] typo (might fix #236) --- lib/Doctrine/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index 305b35b03..d35670ed5 100644 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -514,7 +514,7 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable { { switch($this->type) { case self::DELETE: - if($this->conn->getName() == 'mysql') + if($this->conn->getName() == 'Mysql') $q = 'DELETE '.end($this->tableAliases).' FROM '; else $q = 'DELETE FROM ';