Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Mysqli/MysqliDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public function getTableCreate($tables)

foreach ($tables as $table) {
// Set the query to get the table CREATE statement.
$row = $this->setQuery('SHOW CREATE TABLE ' . $this->quoteName($this->escape($table)))->loadRow();
$row = $this->setQuery('SHOW CREATE TABLE ' . $this->quoteName($table))->loadRow();

// Populate the result array based on the create statements.
$result[$table] = $row[1];
Expand All @@ -536,7 +536,7 @@ public function getTableColumns($table, $typeOnly = true)
$result = [];

// Set the query to get the table fields statement.
$fields = $this->setQuery('SHOW FULL COLUMNS FROM ' . $this->quoteName($this->escape($table)))->loadObjectList();
$fields = $this->setQuery('SHOW FULL COLUMNS FROM ' . $this->quoteName($table))->loadObjectList();

// If we only want the type as the value add just that to the list.
if ($typeOnly) {
Expand Down