diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-23 15:01:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-23 15:01:43 +0200 |
commit | d6e1cea9a8b3a1eee91e52eb46adc82e2005b975 (patch) | |
tree | 8184a8531c8cd916e2de4d7f505dc60ecefcb9e8 /src/namestore/plugin_namestore_postgres.c | |
parent | 7eb7bd8666aeb2e855cd22b1ea7f44b87bb60400 (diff) | |
download | gnunet-d6e1cea9a8b3a1eee91e52eb46adc82e2005b975.tar.gz gnunet-d6e1cea9a8b3a1eee91e52eb46adc82e2005b975.zip |
more incremental processing of zoneimporter
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index a9c19d517..e38fcafb1 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c | |||
@@ -296,6 +296,8 @@ parse_result_call_iterator (void *cls, | |||
296 | { | 296 | { |
297 | struct ParserContext *pc = cls; | 297 | struct ParserContext *pc = cls; |
298 | 298 | ||
299 | if (NULL == pc->iter) | ||
300 | return; /* no need to do more work */ | ||
299 | for (unsigned int i=0;i<num_results;i++) | 301 | for (unsigned int i=0;i<num_results;i++) |
300 | { | 302 | { |
301 | void *data; | 303 | void *data; |