Index: camel/camel-store.c
===================================================================
--- camel/camel-store.c	(revision 9566)
+++ camel/camel-store.c	(working copy)
@@ -468,6 +468,11 @@ camel_store_delete_folder (CamelStore *s
 
 	CS_CLASS(store)->delete_folder(store, folder_name, &local);
 
+	/* ignore 'no such table' errors */
+	if (camel_exception_is_set (&local) && camel_exception_get_description (&local) &&
+	    g_ascii_strncasecmp (camel_exception_get_description (&local), "no such table", 13) == 0)
+		camel_exception_clear (&local);
+
 	if (!camel_exception_is_set(&local))
 		cs_delete_cached_folder(store, folder_name);
 	else {
Index: camel/ChangeLog
===================================================================
--- camel/ChangeLog	(revision 9566)
+++ camel/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2008-09-19  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #550466
+
+	* camel-store.c: (camel_store_delete_folder):
+	Ignore 'no such table' errors.
+
 2008-09-18  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Fix for bug #552729
