<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/pkg/database/sql/example_test.go, branch main</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2014-09-08T04:08:51Z</updated>
<entry>
<title>build: move package sources from src/pkg to src</title>
<updated>2014-09-08T04:08:51Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2014-09-08T04:08:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c007ce824d9a4fccb148f9204e04c23ed2984b71'/>
<id>urn:sha1:c007ce824d9a4fccb148f9204e04c23ed2984b71</id>
<content type='text'>
Preparation was in CL 134570043.
This CL contains only the effect of 'hg mv src/pkg/* src'.
For more about the move, see golang.org/s/go14nopkg.
</content>
</entry>
<entry>
<title>database/sql: add "defer rows.Close()" to the example code.</title>
<updated>2014-03-25T02:32:18Z</updated>
<author>
<name>Nigel Tao</name>
<email>nigeltao@golang.org</email>
</author>
<published>2014-03-25T02:32:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=50ca1a52ca39bdd76bb5f999a67450f5984ebba2'/>
<id>urn:sha1:50ca1a52ca39bdd76bb5f999a67450f5984ebba2</id>
<content type='text'>
Strictly speaking, it's not necessary in example_test.go, as the
Rows.Close docs say that "If Next returns false, the Rows are closed
automatically". However, if the for loop breaks or returns early, it's
not obvious that you'll leak unless you explicitly call Rows.Close.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews, rsc
https://golang.org/cl/79330043
</content>
</entry>
<entry>
<title>database/sql: document args, add a couple examples</title>
<updated>2013-01-11T22:46:49Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2013-01-11T22:46:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=20130f141f869b3fa81a9bcdecd78c59b898459e'/>
<id>urn:sha1:20130f141f869b3fa81a9bcdecd78c59b898459e</id>
<content type='text'>
Fixes #3460

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/7096046
</content>
</entry>
</feed>
