public function __construct(DSN $dsn)
 {
     if (!$dsn->isMySQL()) {
         throw new ConfigurationException(sprintf("\\%s expects a DSN of type '%s', '%s' given", __CLASS__, DSN::TYPE_MYSQL, $dsn->type));
     }
     parent::__construct($dsn);
 }
 public function quoteIdentifier($name)
 {
     $name = trim($name);
     if ($name == '*') {
         return $name;
     }
     // ANSI-SQL (everything else) says to use double quotes to quote identifiers
     $char = '"';
     // MySQL uses backticks cos it's special
     if ($this->dsn->isMySQL()) {
         $char = '`';
     }
     return $char . $name . $char;
 }