gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5719 - GNUnet/src/applications/sqstore_sqlite


From: gnunet
Subject: [GNUnet-SVN] r5719 - GNUnet/src/applications/sqstore_sqlite
Date: Sat, 20 Oct 2007 08:46:50 -0600 (MDT)

Author: durner
Date: 2007-10-20 08:46:50 -0600 (Sat, 20 Oct 2007)
New Revision: 5719

Modified:
   GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
only quit iteration loop if we're about to _migrate_ expired content

Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c     2007-10-20 14:41:09 UTC 
(rev 5718)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c     2007-10-20 14:46:50 UTC 
(rev 5719)
@@ -737,7 +737,7 @@
 
       if ((ret = sqlite3_step (stmt)) == SQLITE_ROW)
         {
-          if (sqlite3_column_int64 (stmt, 4) < now)
+          if (is_migr && sqlite3_column_int64 (stmt, 4) < now)
             datum = NULL;
           else
             datum = assembleDatum (handle, stmt, &key, &rowid);





reply via email to

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