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

Method Close

server/flightclient/flight_executor.go:327–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 if e.dead.Load() {
326 return nil, ErrWorkerDead
327 }
328
329 // Return zero rows affected for empty/comment-only queries.
330 if sqlcore.IsEmptyQuery(query) {
331 return &flightExecResult{rowsAffected: 0}, nil
332 }
333
334 defer recoverClientPanic(&err)
335
336 if len(args) > 0 {
337 query = interpolateArgs(query, args)
338 }

Callers 1

OnWorkerCrashMethod · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected