1
0
Fork 0
mirror of synced 2025-03-31 20:06:16 +03:00
This commit is contained in:
zYne 2007-11-03 15:47:24 +00:00
parent aacfe7288b
commit 1945b0d7a1

View file

@ -94,12 +94,11 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common
* Set the charset on the current connection
*
* @param string charset
*
* @return void
*/
public function setCharset($charset)
{
$query = 'SET NAMES '.$this->dbh->quote($charset);
$query = 'SET NAMES ' . $this->quote($charset);
$this->exec($query);
}
@ -207,4 +206,4 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common
return $this->exec($query);
}
}
}