From 41af325ea5a193eafbb2e10038bfe047236a0cdd Mon Sep 17 00:00:00 2001 From: Andreas Piening Date: Tue, 9 Mar 2010 23:58:08 +0000 Subject: [PATCH] BUGFIX: fix for sqlite3.3 --- code/SQLite3Database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/SQLite3Database.php b/code/SQLite3Database.php index e1e37ba..66e08a1 100644 --- a/code/SQLite3Database.php +++ b/code/SQLite3Database.php @@ -363,6 +363,7 @@ class SQLite3Database extends SS_Database { $ok = true; if(!SapphireTest::using_temp_db() && !self::$checked_and_repaired) { + $this->alterationMessage("SQLite Version " . $this->getVersion(),"repaired"); $this->alterationMessage("Checking database integrity","repaired"); if($msgs = $this->query('PRAGMA integrity_check')) foreach($msgs as $msg) if($msg['integrity_check'] != 'ok') { Debug::show($msg['integrity_check']); $ok = false; } $this->query('VACUUM');