aboutsummaryrefslogtreecommitdiff
path: root/src/plugin/plugin_dlopen.go
diff options
context:
space:
mode:
authorDaniel Theophanes <kardianos@gmail.com>2017-04-04 17:03:10 -0700
committerDaniel Theophanes <kardianos@gmail.com>2017-04-12 01:50:31 +0000
commitab0e9019ea61c1b49572876354af7086f961bc8c (patch)
tree4eb2fe8d54c529a3b9d73c2938ddd9b17d96393b /src/plugin/plugin_dlopen.go
parent9d01def5979c638a9743ee491d68e3f7b81cd840 (diff)
downloadgo-ab0e9019ea61c1b49572876354af7086f961bc8c.tar.xz
database/sql: de-duplicate various methods
Form a new method pattern where *driverConn and release functions are passed into the method. They are named DB.execDC, DB.queryDC, DB.beginDC. This allows more code to be de-duplicated when starting queries. The Stmt creation and management code are untouched. Change-Id: I24c853531e511d8a4bc1f53dd4dbdf968763b4e7 Reviewed-on: https://go-review.googlesource.com/39630 Run-TryBot: Daniel Theophanes <kardianos@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/plugin/plugin_dlopen.go')
0 files changed, 0 insertions, 0 deletions