gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r12742 - gnunet/src/datastore
Date: Thu, 26 Aug 2010 14:26:36 +0200

Author: grothoff
Date: 2010-08-26 14:26:36 +0200 (Thu, 26 Aug 2010)
New Revision: 12742

Modified:
   gnunet/src/datastore/plugin_datastore_postgres.c
Log:
do not store size

Modified: gnunet/src/datastore/plugin_datastore_postgres.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_postgres.c    2010-08-26 12:24:20 UTC 
(rev 12741)
+++ gnunet/src/datastore/plugin_datastore_postgres.c    2010-08-26 12:26:36 UTC 
(rev 12742)
@@ -622,7 +622,7 @@
   if ((1 != PQntuples (res)) ||
       (7 != PQnfields (res)) ||
       (sizeof (uint32_t) != PQfsize (res, 0)) ||
-      (sizeof (uint32_t) != PQfsize (res, 7)))
+      (sizeof (uint32_t) != PQfsize (res, 6)))
     {
       GNUNET_break (0);
       nrc->iter (nrc->iter_cls, 
@@ -637,8 +637,7 @@
       (sizeof (uint32_t) != PQfsize (res, 1)) ||
       (sizeof (uint32_t) != PQfsize (res, 2)) ||
       (sizeof (uint64_t) != PQfsize (res, 3)) ||
-      (sizeof (GNUNET_HashCode) != PQgetlength (res, 0, 4)) ||
-      (size != PQgetlength (res, 0, 5)))
+      (sizeof (GNUNET_HashCode) != PQgetlength (res, 0, 4)) )
     {
       GNUNET_break (0);
       PQclear (res);




reply via email to

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