From 3f927eabd6c126c9385834726726e4609d818b82 Mon Sep 17 00:00:00 2001
From: alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Sun, 13 Sep 2009 08:12:58 +0000
Subject: - "TRUNCATE messages" is required to remove buggy cache entries

git-svn-id: https://svn.roundcube.net/trunk@2952 208e9e7b-5314-0410-a742-e7e81cd9613c
---
 roundcubemail/SQL/sqlite.update.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'roundcubemail/SQL/sqlite.update.sql')

diff --git a/roundcubemail/SQL/sqlite.update.sql b/roundcubemail/SQL/sqlite.update.sql
index 5c68cbb36..4b1b10b7f 100644
--- a/roundcubemail/SQL/sqlite.update.sql
+++ b/roundcubemail/SQL/sqlite.update.sql
@@ -40,3 +40,4 @@ CREATE INDEX ix_cache_created ON cache (created);
 DROP INDEX ix_messages_user_cache_uid;
 CREATE UNIQUE INDEX ix_messages_user_cache_uid ON messages (user_id,cache_key,uid);
 CREATE INDEX ix_messages_index ON messages (user_id,cache_key,idx);
+TRUNCATE messages;
-- 
cgit v1.2.3

