lib/active_rdf/federation/federation_manager.rb in activerdf-1.4 vs lib/active_rdf/federation/federation_manager.rb in activerdf-1.5
- old
+ new
@@ -13,9 +13,10 @@
# executes read-only queries
# by distributing query over complete read-pool
# and aggregating the results
def FederationManager.query(q, options={:flatten => true})
+ $activerdflog.debug "querying #{q.to_sp}"
if ConnectionPool.read_adapters.empty?
raise ActiveRdfError, "cannot execute query without data sources"
end
# ask each adapter for query results