Skip to content

Ignore savepoints in query threshold limit counter

What does this MR do and why?

There's a cap on how many queries we can perform per request. The count code includes SAVEPOINT and RELEASE SAVEPOINT which are not queries. This MR ignores these lines from the query count.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #461164 (closed)

Merge request reports

Loading