diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:34:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:34:29 +0000 |
commit | 1200ea518e3b1f59f32e92d80640c4b4d31cd2b0 (patch) | |
tree | 829938e9fe6e69c2ae442f9e3439e5aa765e0e61 /src/datastore | |
parent | 7ea80d93957088ec42074687f29723cd30119fbe (diff) | |
download | gnunet-1200ea518e3b1f59f32e92d80640c4b4d31cd2b0.tar.gz gnunet-1200ea518e3b1f59f32e92d80640c4b4d31cd2b0.zip |
checkret
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 6a2a86b61..7c7c49468 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c | |||
@@ -589,8 +589,10 @@ sqlite_plugin_update (void *cls, | |||
589 | sqlite3_bind_int64 (plugin->updPrio, 2, expire.abs_value); | 589 | sqlite3_bind_int64 (plugin->updPrio, 2, expire.abs_value); |
590 | sqlite3_bind_int64 (plugin->updPrio, 3, uid); | 590 | sqlite3_bind_int64 (plugin->updPrio, 3, uid); |
591 | n = sqlite3_step (plugin->updPrio); | 591 | n = sqlite3_step (plugin->updPrio); |
592 | sqlite3_reset (plugin->updPrio); | 592 | if (SQLITE_OK != sqlite3_reset (plugin->updPrio)) |
593 | switch (n) | 593 | LOG_SQLITE (plugin, NULL, |
594 | GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, "sqlite3_reset"); | ||
595 | switch (n) | ||
594 | { | 596 | { |
595 | case SQLITE_DONE: | 597 | case SQLITE_DONE: |
596 | #if DEBUG_SQLITE | 598 | #if DEBUG_SQLITE |