Hotfix: robust SQLite query handling in search API
This release fixes a runtime issue that could trigger:
Call to a member function execute() on false
What changed
- Added defensive checks for
SQLite3::prepare()andSQLite3::execute()return values - Improved FTS5 detection to handle non-exception failure cases safely
- Added safe fallback behavior and API error responses instead of fatal crashes
Result
Search now fails gracefully on hosts with stricter or inconsistent SQLite behavior.