Skip to content

Commit

Permalink
Replace <<<SQL with "
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrgicak committed Apr 11, 2024
1 parent d9c8276 commit d87c13c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wp-includes/sqlite/class-wp-sqlite-translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3214,8 +3214,7 @@ function ( $row ) use ( $name_map ) {

$database_expression = $this->rewriter->skip();
$stmt = $this->execute_sqlite_query(
<<<SQL
SELECT
"SELECT
name as `Name`,
'myisam' as `Engine`,
10 as `Version`,
Expand All @@ -3238,8 +3237,7 @@ function ( $row ) use ( $name_map ) {
WHERE
type='table'
AND name LIKE :pattern
ORDER BY name
SQL,
ORDER BY name",

array(
':pattern' => $pattern,
Expand Down

0 comments on commit d87c13c

Please sign in to comment.