gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r16045 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r16045 - gnunet/src/datastore
Date: Sat, 16 Jul 2011 22:34:29 +0200

Author: grothoff
Date: 2011-07-16 22:34:29 +0200 (Sat, 16 Jul 2011)
New Revision: 16045

Modified:
   gnunet/src/datastore/plugin_datastore_sqlite.c
Log:
checkret

Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c      2011-07-16 20:33:23 UTC 
(rev 16044)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c      2011-07-16 20:34:29 UTC 
(rev 16045)
@@ -589,8 +589,10 @@
   sqlite3_bind_int64 (plugin->updPrio, 2, expire.abs_value);
   sqlite3_bind_int64 (plugin->updPrio, 3, uid);
   n = sqlite3_step (plugin->updPrio);
-  sqlite3_reset (plugin->updPrio);
-  switch (n)
+  if (SQLITE_OK != sqlite3_reset (plugin->updPrio))
+    LOG_SQLITE (plugin, NULL,
+               GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, 
"sqlite3_reset");
+   switch (n)
     {
     case SQLITE_DONE:
 #if DEBUG_SQLITE




reply via email to

[Prev in Thread] Current Thread [Next in Thread]