The "/rptsql" page:
URL: /rptsql/N
Display the SQL query used to generate a ticket report. The N value is either the report number of a report tag.
SQLITE_NOTICE(283): recovered 4 frames from WAL file /fossil/sqlite.fossil-wal
Display the SQL query used to generate a ticket report. The N value is either the report number of a report tag.