What's New
Frappe • fix framework

Reject multiple statements in one query

MI @mihir-kandoi · #44711 · merged 21 Oct 2026

On Postgres, `frappe.db.sql` ran every `;`-separated statement, which let read-only checks be bypassed. Queries with a `;` outside literals or comments now raise `ProgrammingError`.