rob05c commented on issue #2536: Fix TO database leak URL: https://github.com/apache/trafficcontrol/pull/2536#issuecomment-404563119 @rawlinp https://golang.org/pkg/database/sql/#Rows.Close >If Next is called and returns false and there are no further result sets, the Rows are closed automatically In this case, the `INSERT` will return 1 row, so `rows.Next()` will return true, and not be closed, per the docs.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services