diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-03 22:25:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-03 22:25:04 +0000 |
commit | 81fcafdcda082db0cf0e8a9e52d7494c8b736b6d (patch) | |
tree | 624e7199f10ad54c21edf11f3be71471c83fd21a /src/namestore | |
parent | 6769495a5be50484b8746830459b3b347dcb4c14 (diff) | |
download | gnunet-81fcafdcda082db0cf0e8a9e52d7494c8b736b6d.tar.gz gnunet-81fcafdcda082db0cf0e8a9e52d7494c8b736b6d.zip |
-reset statement
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 134b65395..493981c06 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -514,6 +514,9 @@ namestore_sqlite_cache_block (void *cls, | |||
514 | "sqlite3_step"); | 514 | "sqlite3_step"); |
515 | break; | 515 | break; |
516 | } | 516 | } |
517 | if (SQLITE_OK != sqlite3_reset (plugin->delete_block)) | ||
518 | LOG_SQLITE (plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | ||
519 | "sqlite3_reset"); | ||
517 | 520 | ||
518 | /* insert new version of the block */ | 521 | /* insert new version of the block */ |
519 | if ((SQLITE_OK != | 522 | if ((SQLITE_OK != |