1
0
mirror of synced 2025-01-20 23:41:39 +03:00

typo (might fix #236)

This commit is contained in:
chtito 2007-01-02 17:23:20 +00:00
parent dcdc049588
commit 1a52fe7263

View File

@ -514,7 +514,7 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
{ {
switch($this->type) { switch($this->type) {
case self::DELETE: case self::DELETE:
if($this->conn->getName() == 'mysql') if($this->conn->getName() == 'Mysql')
$q = 'DELETE '.end($this->tableAliases).' FROM '; $q = 'DELETE '.end($this->tableAliases).' FROM ';
else else
$q = 'DELETE FROM '; $q = 'DELETE FROM ';