[evolution-data-server] Bug #578910 - Removed debug printf and changed other console print
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #578910 - Removed debug printf and changed other console print
- Date: Fri, 28 Aug 2009 16:08:20 +0000 (UTC)
commit 12be6043dff899fa05209481c39616edad9d186b
Author: Milan Crha <mcrha redhat com>
Date: Fri Aug 28 18:06:54 2009 +0200
Bug #578910 - Removed debug printf and changed other console print
camel/camel-folder-summary.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 28d2c2f..671f297 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1581,12 +1581,11 @@ camel_folder_summary_save_to_db (CamelFolderSummary *s, CamelException *ex)
return -1;
}
- printf("WARNING %s\n", camel_exception_get_description (ex));
- if (strstr (camel_exception_get_description (ex), "26 columns but 28 values") != NULL) {
+ if (ex && camel_exception_is_set (ex) && strstr (camel_exception_get_description (ex), "26 columns but 28 values") != NULL) {
/* This is an error is previous migration. Let remigrate this folder alone. */
camel_db_abort_transaction (cdb, ex);
camel_db_reset_folder_version (cdb, s->folder->full_name, 0, ex);
- g_warning ("Fixing up a broken summary migration\n");
+ g_warning ("Fixing up a broken summary migration on %s\n", s->folder->full_name);
/* Begin everything again. */
camel_db_begin_transaction (cdb, ex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]