howareyouman commented on code in PR #2651:
URL: https://github.com/apache/arrow-adbc/pull/2651#discussion_r2044144115
##########
go/adbc/driver/flightsql/flightsql_database.go:
##########
@@ -384,24 +418,30 @@ func getFlightClient(ctx context.Context, loc string, d
*databaseImpl, authMiddl
}
cl.Alloc = d.Alloc
+ // Authorization header is already set, continue
if len(authMiddle.hdrs.Get("authorization")) > 0 {
Review Comment:
No, we don't need a lock here. That code is runned in single thread and only
when doing the set up for client usage.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]