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.go
Find file BlameHistoryPermalink
  • Daniel Theophanes's avatar
    database/sql: close Rows when context is cancelled · d2df8498
    Daniel Theophanes authored Sep 28, 2016
    To prevent leaking connections, close any open Rows when the
    context is cancelled. Also enforce context cancel while reading
    rows off of the wire.
    
    Change-Id: I62237ecdb7d250d6734f6ce3d2b0bcb16dc6fda7
    Reviewed-on: https://go-review.googlesource.com/29957
    
    
    Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    d2df8498
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7