diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-26 12:26:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-26 12:26:36 +0000 |
commit | 72d7553da818eea8076e31bc5072c99af855b5f6 (patch) | |
tree | 3a5918764b0468940f9f0f9c888fb6c560e204f3 /src/datastore | |
parent | 34a6eef6a3e9c85b40c1f472886d18c1b7b95ce1 (diff) | |
download | gnunet-72d7553da818eea8076e31bc5072c99af855b5f6.tar.gz gnunet-72d7553da818eea8076e31bc5072c99af855b5f6.zip |
do not store size
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 5 |
1 files changed, 2 insertions, 3 deletions
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, | |||
622 | if ((1 != PQntuples (res)) || | 622 | if ((1 != PQntuples (res)) || |
623 | (7 != PQnfields (res)) || | 623 | (7 != PQnfields (res)) || |
624 | (sizeof (uint32_t) != PQfsize (res, 0)) || | 624 | (sizeof (uint32_t) != PQfsize (res, 0)) || |
625 | (sizeof (uint32_t) != PQfsize (res, 7))) | 625 | (sizeof (uint32_t) != PQfsize (res, 6))) |
626 | { | 626 | { |
627 | GNUNET_break (0); | 627 | GNUNET_break (0); |
628 | nrc->iter (nrc->iter_cls, | 628 | nrc->iter (nrc->iter_cls, |
@@ -637,8 +637,7 @@ postgres_next_request_cont (void *next_cls, | |||
637 | (sizeof (uint32_t) != PQfsize (res, 1)) || | 637 | (sizeof (uint32_t) != PQfsize (res, 1)) || |
638 | (sizeof (uint32_t) != PQfsize (res, 2)) || | 638 | (sizeof (uint32_t) != PQfsize (res, 2)) || |
639 | (sizeof (uint64_t) != PQfsize (res, 3)) || | 639 | (sizeof (uint64_t) != PQfsize (res, 3)) || |
640 | (sizeof (GNUNET_HashCode) != PQgetlength (res, 0, 4)) || | 640 | (sizeof (GNUNET_HashCode) != PQgetlength (res, 0, 4)) ) |
641 | (size != PQgetlength (res, 0, 5))) | ||
642 | { | 641 | { |
643 | GNUNET_break (0); | 642 | GNUNET_break (0); |
644 | PQclear (res); | 643 | PQclear (res); |