diff --git a/lib/Doctrine/Export/Mysql.php b/lib/Doctrine/Export/Mysql.php index 9159076df..aad82bdca 100644 --- a/lib/Doctrine/Export/Mysql.php +++ b/lib/Doctrine/Export/Mysql.php @@ -132,7 +132,7 @@ class Doctrine_Export_Mysql extends Doctrine_Export { if (!empty($optionStrings)) { $query.= ' '.implode(' ', $optionStrings); } - return $this->dbh->query($query); + return $this->conn->getDbh()->query($query); } /** * alter an existing table