[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r952 - GNUnet/src/applications/sqstore_sqlite
From: |
grothoff |
Subject: |
[GNUnet-SVN] r952 - GNUnet/src/applications/sqstore_sqlite |
Date: |
Sat, 18 Jun 2005 03:35:59 -0700 (PDT) |
Author: grothoff
Date: 2005-06-18 03:35:54 -0700 (Sat, 18 Jun 2005)
New Revision: 952
Modified:
GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
bugfix
Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c 2005-06-17 17:09:31 UTC
(rev 951)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c 2005-06-18 10:35:54 UTC
(rev 952)
@@ -399,6 +399,7 @@
type);
if (sqlite3_step(stmt) == SQLITE_ROW) {
datum = assembleDatum(stmt);
+ sqlite3_reset(stmt);
if (datum == NULL) {
LOG(LOG_WARNING,
@@ -431,9 +432,10 @@
lastExp = ntohll(datum->value.expirationTime);
FREE(datum);
count++;
- } else
+ } else {
+ sqlite3_reset(stmt);
break;
- sqlite3_reset(stmt);
+ }
}
FREE(lastHash);
sqlite3_finalize(stmt);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r952 - GNUnet/src/applications/sqstore_sqlite,
grothoff <=