You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port SQLCDEBUG to a registry-style package modeled after Go's GODEBUG
Replace the monolithic opts.Debug snapshot with internal/sqlcdebug, which
exposes a master Settings table and per-call-site Setting handles via
sqlcdebug.New("name"). Each consumer reads its setting independently
through Setting.Value(), removing the need to thread a Debug struct
through cmd.Env, opts.Parser, and the analyzer constructors.
Migrated readers:
- cmd: trace, processplugins, dumpcatalog, dumpvetenv, dumpexplain, databases
- compiler: dumpast
- postgresql/sqlite analyzers: databases
- tracer: trace (now via tracer.Path())
The endtoend test fixture process_plugin_disabled now installs the
SQLCDEBUG override via sqlcdebug.Update for the duration of the subtest;
TestReplay subtests run sequentially, so no synchronization is needed.
0 commit comments