aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_sqlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r--src/namestore/plugin_namestore_sqlite.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c
index 2ffc12f92..23af3960d 100644
--- a/src/namestore/plugin_namestore_sqlite.c
+++ b/src/namestore/plugin_namestore_sqlite.c
@@ -501,16 +501,10 @@ get_records_and_call_iterator (struct Plugin *plugin,
501 GNUNET_SQ_result_spec_end 501 GNUNET_SQ_result_spec_end
502 }; 502 };
503 503
504 if (NULL == zone_key) 504 ret = GNUNET_SQ_extract_result (stmt,
505 { 505 (NULL == zone_key)
506 ret = GNUNET_SQ_extract_result (stmt, 506 ? rsx
507 rsx); 507 : rs);
508 }
509 else
510 {
511 ret = GNUNET_SQ_extract_result (stmt,
512 rs);
513 }
514 if ( (GNUNET_OK != ret) || 508 if ( (GNUNET_OK != ret) ||
515 (record_count > 64 * 1024) ) 509 (record_count > 64 * 1024) )
516 { 510 {