diff options
-rw-r--r-- | src/datacache/plugin_datacache_sqlite.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c index e33758f9b..44799be63 100644 --- a/src/datacache/plugin_datacache_sqlite.c +++ b/src/datacache/plugin_datacache_sqlite.c | |||
@@ -272,14 +272,12 @@ sqlite_plugin_get (void *cls, const GNUNET_HashCode * key, | |||
272 | exp = GNUNET_TIME_UNIT_FOREVER_ABS; | 272 | exp = GNUNET_TIME_UNIT_FOREVER_ABS; |
273 | cnt++; | 273 | cnt++; |
274 | #if DEBUG_DATACACHE_SQLITE | 274 | #if DEBUG_DATACACHE_SQLITE |
275 | if (0 == total) | 275 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
276 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 276 | "Found %u-byte result when processing `%s' for key `%4s'\n", |
277 | "Found %u-byte result when processing `%s' for key `%4s'\n", | 277 | (unsigned int) size, |
278 | (unsigned int) size, | 278 | "GET", |
279 | "GET", | 279 | GNUNET_h2s (key)); |
280 | GNUNET_h2s (key)); | ||
281 | #endif | 280 | #endif |
282 | |||
283 | if (GNUNET_OK != iter (iter_cls, exp, key, size, dat, type)) | 281 | if (GNUNET_OK != iter (iter_cls, exp, key, size, dat, type)) |
284 | { | 282 | { |
285 | sqlite3_finalize (stmt); | 283 | sqlite3_finalize (stmt); |