MCPcopy Create free account
hub / github.com/PostHog/duckgres / hasSQLTransactionDrain

Method hasSQLTransactionDrain

duckdbservice/service.go:169–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167 // this session, or "" when idle. Held as an atomic because the progress
168 // monitor reads it from its own goroutine while the RPC path writes it.
169 currentQueryID atomic.Value // string
170
171 mu sync.RWMutex
172 connMu sync.Mutex // serializes operations on Conn and session-owned transactions
173 queries map[string]*QueryHandle
174 txns map[string]*trackedTx
175 txnOwner map[string]string
176 closed bool

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected