aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/driver
diff options
context:
space:
mode:
authorDaniel Theophanes <kardianos@gmail.com>2017-09-23 19:38:32 -0700
committerDaniel Theophanes <kardianos@gmail.com>2017-10-24 16:51:29 +0000
commit532714829ee4e816e54b6ccfe0b28f011f1659b2 (patch)
tree2c85c86b68bd27f9e80733ed5b74aeb8e1bf9474 /src/database/sql/driver
parent89a7adf8e47c8e8f7929e68621a66000bb2703e6 (diff)
downloadgo-532714829ee4e816e54b6ccfe0b28f011f1659b2.tar.xz
database/sql: allow drivers to only implement Context variants
Drivers shouldn't need to implement both Queryer and QueryerContext, they should just implement QueryerContext. Same with Execer and ExecerContext. This CL tests for QueryContext and ExecerContext first so drivers do not need to implement Queryer and Execer with an empty definition. Fixes #21663 Change-Id: Ifbaa71da669f4bc60f8da8c41a04a4afed699a9f Reviewed-on: https://go-review.googlesource.com/65733 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions