public function runQuery($query)
 {
     $this->addQueryToLog($query);
     $this->connection->query($query);
     $this->connection->resetDdlCache();
     return $this;
 }
 /**
  * @param Table $tableDdl
  * @return void
  */
 public function createTableByDdl($tableDdl)
 {
     $this->resourceAdapter->dropTable($tableDdl->getName());
     $this->resourceAdapter->createTable($tableDdl);
     $this->resourceAdapter->resetDdlCache($tableDdl->getName());
 }
 /**
  * Cleanup DDL cache for the fixture table
  */
 protected function tearDown()
 {
     $this->_connection->dropTable($this->_tableName);
     $this->_connection->resetDdlCache($this->_tableName);
     $this->_connection = null;
 }