https://bugs.kde.org/show_bug.cgi?id=113517


Nicolas Lécureuil <nlecure...@mandriva.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nlecure...@mandriva.com




--- Comment #3 from Nicolas Lécureuil <nlecureuil mandriva com>  2010-09-01 
13:11:52 ---
can't we just recreate the index ?
with something like :

Index: kmail/kmmsgbase.cpp
===================================================================
--- kmail/kmmsgbase.cpp (révision 1164609)
+++ kmail/kmmsgbase.cpp (copie de travail)
@@ -1060,7 +1060,12 @@
       goto retry;
     }
     if(type == t) {
-      assert(sizeOfLong == len);
+      if (sizeOfLong == len)
+      {
+        if (!storage()->recreateIndex())
+          return 0;
+        goto retry;
+      }
       if (sizeOfLong == sizeof(ret))
       {
         copy_from_stream(ret);

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to