beads/internal/storage/doltutil
Julian Knutsen 6756ccb9e0
feat(dolt): interpolate params in the server DSN (#4617)
Set InterpolateParams=true on the Dolt server DSN so a parameterized
statement is a single round-trip instead of a server-side PREPARE +
EXECUTE pair. Over a high-latency connection (for example a remote,
TLS-fronted Dolt server), a write that issues many parameterized
statements inside one transaction — creating an issue and its labels,
events, and dependencies — otherwise pays a full round-trip per statement
just to prepare it.

The driver falls back to a server-side prepare (driver.ErrSkip) whenever
it cannot safely interpolate an argument, so results never change; this
only removes the extra round-trip when interpolation is safe. It is
independent of MultiStatements and is rejected only with custom unsafe
collations, which this DSN never sets.
2026-07-07 02:01:31 -07:00
..
close.go fix: remove stale embedded Dolt references after server-only migration 2026-02-21 16:59:44 -08:00
close_test.go tests: add tests for doltutil and factory packages 2026-02-07 18:21:48 -08:00
dsn.go feat(dolt): interpolate params in the server DSN (#4617) 2026-07-07 02:01:31 -07:00
dsn_test.go feat(dolt): interpolate params in the server DSN (#4617) 2026-07-07 02:01:31 -07:00
persisted_remotes_test.go fix(dolt): read persisted remotes from repo_state.json; never swallow gate probe failures (bd-6dnrw.33) 2026-06-09 23:20:26 -04:00
remotes.go fix(dolt): read persisted remotes from repo_state.json; never swallow gate probe failures (bd-6dnrw.33) 2026-06-09 23:20:26 -04:00
remotes_test.go fix(remote): remove cli invocations of 'dolt remote' and exclusively use store method and sql (#4236) 2026-06-05 13:58:21 -07:00