Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
  • go
  • src
  • database
  • sql
  • sql_test.go
Find file BlameHistoryPermalink
  • Daniel Theophanes's avatar
    database/sql: allow drivers to only implement Context variants · 53271482
    Daniel Theophanes authored Sep 23, 2017
    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: default avatarIan Lance Taylor <iant@golang.org>
    53271482
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7