Cross Reference: evolution-data-server-12-sqlite.diff
xref
: /
solaris-desktop
/
patches
/
evolution-data-server-12-sqlite.diff
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
19815
N/A
---
evolution-data-server-2.30.3/camel/camel-store.c.orig
2010-12-07 15:29:08.509510560 +0800
19815
N/A
+++
evolution-data-server-2.30.3/camel/camel-store.c
2010-12-07 15:29:13.381590033 +0800
19815
N/A
@@ -258,9 +258,14 @@
19815
N/A
}
19815
N/A
g_free (store_db_path);
19815
N/A
19815
N/A
- if (camel_db_create_folders_table (store->cdb_r, ex))
19815
N/A
+ int loop = 3;
19815
N/A
+ while (loop && camel_db_create_folders_table (store->cdb_r, ex) ) {
19815
N/A
+ usleep (100000);
19815
N/A
+ camel_exception_clear (ex);
19815
N/A
g_warning ("something went wrong terribly during db creation \n");
19815
N/A
- else {
19815
N/A
+ loop--;
19815
N/A
+ }
19815
N/A
+ if (loop) {
19815
N/A
d(printf ("folders table successfully created \n"));
19815
N/A
}
19815
N/A