bbcarchdev / spindle

RES Linked Open Data aggregation engine
https://bbcarchdev.github.io/spindle/
Apache License 2.0
2 stars 1 forks source link

Generate code-paths don't deal properly with `entry->db == NULL` #130

Open nevali opened 6 years ago

nevali commented 6 years ago

spindle_generate_entry can be invoked with entry->db == NULL (by design) but not all of the generate functions it invokes perform the necessary tests before attempting to invoke SQL queries.