+2008-08-18 Srinivasa Ragavan <sragavan@novell.com>
+
+ * camel/camel-folder-search.c: Save the db, only if it is a db based
+ search.
+
2008-08-18 Priit Laes <plaes@plaes.org>
** Fix for bug #548059
g_assert(search->folder);
- /* Sync the db, so that we search the db for changes */
- camel_folder_summary_save_to_db (search->folder->summary, ex);
-
p->ex = ex;
/* We route body-contains search and uid search through memory and not via db. */
e_sexp_result_free(search->sexp, r);
} else {
+ /* Sync the db, so that we search the db for changes */
+ camel_folder_summary_save_to_db (search->folder->summary, ex);
+
d(printf ("sexp is : [%s]\n", expr));
sql_query = camel_sexp_to_sql (expr);
tmp1 = camel_db_sqlize_string(search->folder->full_name);