Commit de94e464 authored by zYne's avatar zYne

fixed some bugs in mysql export driver

parent ec36e81d
...@@ -132,7 +132,7 @@ class Doctrine_Export_Mysql extends Doctrine_Export { ...@@ -132,7 +132,7 @@ class Doctrine_Export_Mysql extends Doctrine_Export {
if (!empty($optionStrings)) { if (!empty($optionStrings)) {
$query.= ' '.implode(' ', $optionStrings); $query.= ' '.implode(' ', $optionStrings);
} }
return $this->dbh->query($query); return $this->conn->getDbh()->query($query);
} }
/** /**
* alter an existing table * alter an existing table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment