Skip to content

Commit

Permalink
The call to PDO::query() has too many arguments starting with PDO::FE…
Browse files Browse the repository at this point in the history
…TCH_ASSOC
  • Loading branch information
ifsnop committed Sep 14, 2014
1 parent c5c9c2e commit afaa56c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ifsnop/Mysqldump/Mysqldump.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ private function getTableStructure($tableName)

$columnTypes = array();
$columns = $this->dbHandler->query(
$this->typeAdapter->show_columns($tableName),
PDO::FETCH_ASSOC
$this->typeAdapter->show_columns($tableName)
);
$columns->setFetchMode(PDO::FETCH_ASSOC);

foreach($columns as $key => $col) {
$types = $this->typeAdapter->parseColumnType($col);
Expand Down

0 comments on commit afaa56c

Please sign in to comment.