1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02:00

Merge pull request #6314 from Nicofuma/ticket/16897

[ticket/16897] Ignores sqlite3 warnings when an explain query plan query fails
This commit is contained in:
Marc Alexander 2021-10-29 21:26:22 +02:00
commit 81126dc97e
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -390,7 +390,7 @@ class sqlite3 extends \phpbb\db\driver\driver
{
$html_table = false;
if ($result = $this->dbo->query("EXPLAIN QUERY PLAN $explain_query"))
if ($result = @$this->dbo->query("EXPLAIN QUERY PLAN $explain_query"))
{
while ($row = $result->fetchArray(SQLITE3_ASSOC))
{