evolution-data-server r9061 - branches/camel-db-summary/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9061 - branches/camel-db-summary/camel
- Date: Fri, 27 Jun 2008 18:14:45 +0000 (UTC)
Author: sragavan
Date: Fri Jun 27 18:14:45 2008
New Revision: 9061
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9061&view=rev
Log:
Fix Sankar's timeout issue.
Modified:
branches/camel-db-summary/camel/camel-db.c
Modified: branches/camel-db-summary/camel/camel-db.c
==============================================================================
--- branches/camel-db-summary/camel/camel-db.c (original)
+++ branches/camel-db-summary/camel/camel-db.c Fri Jun 27 18:14:45 2008
@@ -205,9 +205,9 @@
int ret = -1;
char *errmsg;
- ret = sqlite3_exec(cdb->db, query, 0, 0, &errmsg);
+ ret = sqlite3_exec(cdb->db, query, count_cb, count, &errmsg);
while (ret == SQLITE_BUSY || ret == SQLITE_LOCKED) {
- ret = sqlite3_exec (cdb->db, query, 0, 0, &errmsg);
+ ret = sqlite3_exec (cdb->db, query, count_cb, count, &errmsg);
}
if (ret != SQLITE_OK) {
@@ -349,9 +349,9 @@
if (!cdb)
return TRUE;
- ret = sqlite3_exec(cdb->db, stmt, 0, 0, &errmsg);
+ ret = sqlite3_exec(cdb->db, stmt, callback, data, &errmsg);
while (ret == SQLITE_BUSY || ret == SQLITE_LOCKED) {
- ret = sqlite3_exec (cdb->db, stmt, 0, 0, &errmsg);
+ ret = sqlite3_exec (cdb->db, stmt, callback, data, &errmsg);
}
if (ret != SQLITE_OK) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]