summaryrefslogtreecommitdiffstats
path: root/database/contexts/query_scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'database/contexts/query_scope.c')
-rw-r--r--database/contexts/query_scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/contexts/query_scope.c b/database/contexts/query_scope.c
index f3bcd0b3fa..a7f8488ca3 100644
--- a/database/contexts/query_scope.c
+++ b/database/contexts/query_scope.c
@@ -17,7 +17,7 @@ ssize_t query_scope_foreach_host(SIMPLE_PATTERN *scope_hosts_sp, SIMPLE_PATTERN
uint64_t a_hash = 0;
uint64_t t_hash = 0;
- dfe_start_read(rrdhost_root_index, host) {
+ dfe_start_read(rrdb.rrdhost_root_index, host) {
if(host->node_id)
uuid_unparse_lower(*host->node_id, host_node_id_str);
else