gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r5966 - GNUnet/src/applications/sqstore_sqlite
Date: Wed, 19 Dec 2007 10:54:22 -0700 (MST)

Author: grothoff
Date: 2007-12-19 10:54:22 -0700 (Wed, 19 Dec 2007)
New Revision: 5966

Modified:
   GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
stupid order by

Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c     2007-12-19 17:49:28 UTC 
(rev 5965)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c     2007-12-19 17:54:22 UTC 
(rev 5966)
@@ -77,7 +77,7 @@
 
 #define SELECT_IT_MIGRATION_ORDER_1 \
   "SELECT size,type,prio,anonLevel,expire,hash,value,_ROWID_ FROM gn070 WHERE 
(expire = ? AND hash < ?) "\
-  " ORDER BY expire DESC, hash DESC LIMIT 1"
+  " ORDER BY hash DESC LIMIT 1"
 
 #define SELECT_IT_MIGRATION_ORDER_2 \
   "SELECT size,type,prio,anonLevel,expire,hash,value,_ROWID_ FROM gn070 WHERE 
(expire < ?) "\





reply via email to

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