v3.135.11
·
84 commits
to master
since this release
- The
trace.DatabaseSQLConnExecStartInfo.IdleTimeandtrace.DatabaseSQLConnQueryStartInfo.IdleTimefields have been marked as deprecated and will always be zero from now. - Default connection last usage tracking has been changed to "no tracking", with real-time tracking enabled only if a connection's time-to-live (TTL) has been defined.
lastUsage.Start()has been optimized to replace thesync.OnceFuncapproach with an atomic.Bool-based one, reducing heap allocations for each query start.- Optimized
io.EOFhandling in QueryService result iteration by returningio.EOFdirectly instead of wrapping it withxerrors.WithStackTrace, reducing per-query allocations
Full Changelog: v3.135.10...v3.135.11