aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_postgres.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-08-26 12:26:36 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-08-26 12:26:36 +0000
commit9da5f877a36c208deb6b503b18f0ffe91ffe29a6 (patch)
tree3a5918764b0468940f9f0f9c888fb6c560e204f3 /src/datastore/plugin_datastore_postgres.c
parent1027b5b8fbcd6b089f4b93e63c7a32bcc3d6658d (diff)
do not store size
git-svn-id: https://gnunet.org/svn/gnunet@12742 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r--src/datastore/plugin_datastore_postgres.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c
index 99be510221..338b29821b 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);