<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/pkg/database/sql/sql.go, branch go1.2.2</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.2.2</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.2.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2014-02-28T03:43:10Z</updated>
<entry>
<title>[release-branch.go1.2] database/sql: Use all connections in pool</title>
<updated>2014-02-28T03:43:10Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2014-02-28T03:43:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d905670c2ee3efe6b08d6c8de292be46f1e1eca1'/>
<id>urn:sha1:d905670c2ee3efe6b08d6c8de292be46f1e1eca1</id>
<content type='text'>
««« CL 40410043 / 8a7ac002f840
database/sql: Use all connections in pool

The last connection in the pool was not being handed out correctly.

R=golang-codereviews, gobot, bradfitz
CC=golang-codereviews
https://golang.org/cl/40410043

»»»

LGTM=r
R=golang-codereviews, r
CC=golang-dev
https://golang.org/cl/68820044
</content>
</entry>
<entry>
<title>[release-branch.go1.2] database/sql: document Result methods</title>
<updated>2013-11-01T00:31:18Z</updated>
<author>
<name>Andrew Gerrand</name>
<email>adg@golang.org</email>
</author>
<published>2013-11-01T00:31:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=63ff715a55c0e9833cd5aab5aa326fe0d764b7c2'/>
<id>urn:sha1:63ff715a55c0e9833cd5aab5aa326fe0d764b7c2</id>
<content type='text'>
««« CL 19280046 / 2ad8ac71220d
database/sql: document Result methods

Fixes #5110

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/19280046
»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/20650043
</content>
</entry>
<entry>
<title>[release-branch.go1.2] database/sql: Fix typos in doc</title>
<updated>2013-11-01T00:30:30Z</updated>
<author>
<name>Andrew Gerrand</name>
<email>adg@golang.org</email>
</author>
<published>2013-11-01T00:30:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6d10afd9e566ca520aef916bca2a6a75b24fd01f'/>
<id>urn:sha1:6d10afd9e566ca520aef916bca2a6a75b24fd01f</id>
<content type='text'>
««« CL 17590043 / fb5224487f1b
database/sql: Fix typos in doc

R=golang-dev
CC=bradfitz, golang-dev
https://golang.org/cl/17590043

»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/20150046
</content>
</entry>
<entry>
<title>[release-branch.go1.2] database/sql: link to wiki in package docs</title>
<updated>2013-11-01T00:18:03Z</updated>
<author>
<name>Andrew Gerrand</name>
<email>adg@golang.org</email>
</author>
<published>2013-11-01T00:18:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7191e085990417cb17e51a61470debdea6297b5a'/>
<id>urn:sha1:7191e085990417cb17e51a61470debdea6297b5a</id>
<content type='text'>
««« CL 14087043 / 7ebbddd21330
database/sql: link to wiki in package docs

Update #5886

R=golang-dev, kamil.kisiel, adg, r, rsc, dave, arnehormann, bradfitz
CC=golang-dev
https://golang.org/cl/14087043

»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/20610043
</content>
</entry>
<entry>
<title>database/sql: Fix connection leak and potential deadlock</title>
<updated>2013-10-16T16:22:57Z</updated>
<author>
<name>Alberto García Hierro</name>
<email>alberto@garciahierro.com</email>
</author>
<published>2013-10-16T16:22:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=37db8804691f0a5e618cbc041909895c9709263c'/>
<id>urn:sha1:37db8804691f0a5e618cbc041909895c9709263c</id>
<content type='text'>
CL 10726044 introduced a race condition which causes connections
to be leaked under certain circumstances. If SetMaxOpenConns is
used, the application eventually deadlocks. Otherwise, the number
of open connections just keep growing indefinitely.

Fixes #6593

R=golang-dev, bradfitz, tad.glines, bketelsen
CC=golang-dev
https://golang.org/cl/14611045
</content>
</entry>
<entry>
<title>database/sql: fix double decrement of numOpen count; test for connection leaks</title>
<updated>2013-10-16T16:17:25Z</updated>
<author>
<name>Alberto García Hierro</name>
<email>alberto@garciahierro.com</email>
</author>
<published>2013-10-16T16:17:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=478f4b67543824c039d2f7afec6af88a59148db2'/>
<id>urn:sha1:478f4b67543824c039d2f7afec6af88a59148db2</id>
<content type='text'>
Add a check at the end of every test to make sure
there are no leaked connections after running a test.

Avoid incorrectly decrementing the number of open connections
when the driver connection ends up it a bad state (numOpen was
decremented twice).

Prevent leaking a Rows struct (which ends up leaking a
connection) in Row.Scan() when a *RawBytes destination is
improperly used.

Close the Rows struct in TestRowsColumns.

Update #6593

R=golang-dev, bradfitz, dave
CC=golang-dev
https://golang.org/cl/14642044
</content>
</entry>
<entry>
<title>database/sql: add SetMaxOpenConns</title>
<updated>2013-08-30T16:27:33Z</updated>
<author>
<name>Tad Glines</name>
<email>tad.glines@gmail.com</email>
</author>
<published>2013-08-30T16:27:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=41c5d8d85f6c031c591c26404a5009a333d5d974'/>
<id>urn:sha1:41c5d8d85f6c031c591c26404a5009a333d5d974</id>
<content type='text'>
Update #4805

Add the ability to set an open connection limit.
Fixed case where the Conn finalCloser was being called with db.mu locked.
Added separate benchmarks for each path for Exec and Query.
Replaced slice based idle pool with list based idle pool.

R=bradfitz
CC=golang-dev
https://golang.org/cl/10726044
</content>
</entry>
<entry>
<title>undo CL 10726044 / c9bea548fb6f</title>
<updated>2013-08-30T00:26:00Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2013-08-30T00:26:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9456adb36b3731e1e4accadddd7cd2abf5a911b8'/>
<id>urn:sha1:9456adb36b3731e1e4accadddd7cd2abf5a911b8</id>
<content type='text'>
Breaks build, and has a race.

««« original CL description
database/sql: add SetMaxOpenConns

Update #4805

Add the ability to set an open connection limit.
Fixed case where the Conn finalCloser was being called with db.mu locked.
Added seperate benchmarks for each path for Exec and Query.
Replaced slice based idle pool with list based idle pool.

R=bradfitz
CC=golang-dev
https://golang.org/cl/10726044

»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/13252046
</content>
</entry>
<entry>
<title>database/sql: add SetMaxOpenConns</title>
<updated>2013-08-30T00:20:39Z</updated>
<author>
<name>Tad Glines</name>
<email>tad.glines@gmail.com</email>
</author>
<published>2013-08-30T00:20:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4572e4848364b6098b565a2ef480e9b4e8ff5977'/>
<id>urn:sha1:4572e4848364b6098b565a2ef480e9b4e8ff5977</id>
<content type='text'>
Update #4805

Add the ability to set an open connection limit.
Fixed case where the Conn finalCloser was being called with db.mu locked.
Added seperate benchmarks for each path for Exec and Query.
Replaced slice based idle pool with list based idle pool.

R=bradfitz
CC=golang-dev
https://golang.org/cl/10726044
</content>
</entry>
<entry>
<title>database/sql: make Rows.Next returning false always implicitly call</title>
<updated>2013-08-16T01:23:35Z</updated>
<author>
<name>Nigel Tao</name>
<email>nigeltao@golang.org</email>
</author>
<published>2013-08-16T01:23:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bc2126507472e51a6820aecce9f07df6e4231a0a'/>
<id>urn:sha1:bc2126507472e51a6820aecce9f07df6e4231a0a</id>
<content type='text'>
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.

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