Skip to content

Commit

Permalink
Restore previous logic
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Jun 6, 2024
1 parent 95724b4 commit ed7b29d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions wp-includes/sqlite/class-wp-sqlite-translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3462,10 +3462,7 @@ private function execute_show() {
);

$this->set_results_from_fetched_data(
array_column(
$stmt->fetchAll( $this->pdo_fetch_mode ),
'Tables_in_db'
)
$stmt->fetchAll( $this->pdo_fetch_mode )
);
return;

Expand All @@ -3476,10 +3473,7 @@ private function execute_show() {
"SELECT name FROM sqlite_master WHERE type='table'"
);
$this->set_results_from_fetched_data(
array_column(
$stmt->fetchAll( $this->pdo_fetch_mode ),
'Tables_in_db'
)
$stmt->fetchAll( $this->pdo_fetch_mode )
);
return;

Expand Down

0 comments on commit ed7b29d

Please sign in to comment.