mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00: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:
commit
81126dc97e
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ class sqlite3 extends \phpbb\db\driver\driver
|
||||||
{
|
{
|
||||||
$html_table = false;
|
$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))
|
while ($row = $result->fetchArray(SQLITE3_ASSOC))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue