Pārlūkot izejas kodu

Update DB\Sqlite

More data for server statistics.
Visman 3 gadi atpakaļ
vecāks
revīzija
f6dfd6fdcd
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/Core/DB/Sqlite.php

+ 2 - 0
app/Core/DB/Sqlite.php

@@ -461,6 +461,8 @@ class Sqlite
 #            'server info'  => $this->db->getAttribute(PDO::ATTR_SERVER_INFO),
             'encoding'     => $this->db->query('PRAGMA encoding;')->fetchColumn(),
             'journal_mode' => $this->db->query('PRAGMA journal_mode;')->fetchColumn(),
+            'synchronous'  => $this->db->query('PRAGMA synchronous;')->fetchColumn(),
+            'busy_timeout' => $this->db->query('PRAGMA busy_timeout;')->fetchColumn(),
         ];
     }