gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r3619 - branches/GNUnet-0.7.0/src/applications/sqstore_sqli


From: grothoff
Subject: [GNUnet-SVN] r3619 - branches/GNUnet-0.7.0/src/applications/sqstore_sqlite
Date: Fri, 3 Nov 2006 05:56:40 -0800 (PST)

Author: grothoff
Date: 2006-11-03 05:56:24 -0800 (Fri, 03 Nov 2006)
New Revision: 3619

Modified:
   branches/GNUnet-0.7.0/src/applications/sqstore_sqlite/sqlite.c
Log:
backporting sqlite bugfix

Modified: branches/GNUnet-0.7.0/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- branches/GNUnet-0.7.0/src/applications/sqstore_sqlite/sqlite.c      
2006-11-03 13:43:50 UTC (rev 3618)
+++ branches/GNUnet-0.7.0/src/applications/sqstore_sqlite/sqlite.c      
2006-11-03 13:56:24 UTC (rev 3619)
@@ -491,23 +491,23 @@
                     3,
                     lastPrio);
     if (sortByPriority) {
-      sqlite3_bind_int(stmt,
-                      4,
-                      lastPrio);
       sqlite3_bind_int64(stmt,
-                        5,
+                        4,
                         lastExp);
       sqlite3_bind_int(stmt,
+                      5,
+                      lastPrio);
+      sqlite3_bind_int(stmt,
                       6,
                       lastPrio);
     } else {
-      sqlite3_bind_int64(stmt,
-                        4,
-                        lastExp);
       sqlite3_bind_int(stmt,
-                      5,
+                      4,
                       lastPrio);
       sqlite3_bind_int64(stmt,
+                        5,
+                        lastExp);
+      sqlite3_bind_int64(stmt,
                         6,
                         lastExp);
     }





reply via email to

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