Descriptiondatabase/sql: make Rows.Next returning false always implicitly call
Rows.Close.
Previously, callers that followed the example code (but not call
rows.Close after "for rows.Next() { ... }") could leak statements if
the driver returned an error other than io.EOF.
Patch Set 1 #Patch Set 2 : diff -r d7db8c804ffa https://code.google.com/p/go/ #Patch Set 3 : diff -r d7db8c804ffa https://code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r 2bf4cf823da3 https://code.google.com/p/go/ #Patch Set 5 : diff -r 249cd3c39e56 https://code.google.com/p/go/ #
MessagesTotal messages: 7
|