From: Christian Grothoff Date: Thu, 26 Aug 2010 12:26:36 +0000 (+0000) Subject: do not store size X-Git-Tag: initial-import-from-subversion-38251~20534 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72d7553da818eea8076e31bc5072c99af855b5f6;p=oweals%2Fgnunet.git do not store size --- diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index 99be51022..338b29821 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c @@ -622,7 +622,7 @@ postgres_next_request_cont (void *next_cls, 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 @@ postgres_next_request_cont (void *next_cls, (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);