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) | |
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 a9c19d5170..e38fcafb1b 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, { struct ParserContext *pc = cls; + if (NULL == pc->iter) + return; /* no need to do more work */ for (unsigned int i=0;i<num_results;i++) { void *data; |
