tcncloud/protoc-gen-persist

sql.Rows do not get Closed if persist's iter.Each() errors out, or iter.One() has multiple results

iamneal opened this issue · 0 comments

both of these methods need to generate with a defer to close the internal rows var, so we don't have a connection leak