1. 23 Apr, 2013 5 commits
  2. 22 Apr, 2013 6 commits
  3. 21 Apr, 2013 4 commits
  4. 20 Apr, 2013 2 commits
  5. 19 Apr, 2013 5 commits
  6. 18 Apr, 2013 7 commits
  7. 17 Apr, 2013 4 commits
  8. 16 Apr, 2013 5 commits
  9. 15 Apr, 2013 2 commits
    • Brad Fitzpatrick's avatar
      database/sql: close driver Stmt before releasing Conn · 36d3bef8
      Brad Fitzpatrick authored
      From the issue, which describes it as well as I could:
      
      database/sql assumes that driver.Stmt.Close does not need the
      connection.
      
      see database/sql/sql.go:1308:
      
      This puts the Rows' connection back into the idle pool, and
      then calls the driver.Stmt.Close method of the Stmt it belongs
      to.  In the postgresql driver implementation
      (https://github.com/lib/pq), Stmt.Close communicates with the
      server (on the connection that was just put back into the idle
      pool).  Most of the time, this causes no problems, but if
      another goroutine makes a query at the right (wrong?) time,
      chaos results.
      
      In any case, traffic is being sent on "free" connections
      shortly after they are freed, leading to race conditions that
      kill the driver code.
      
      Fixes #5283
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/8633044
      36d3bef8
    • Shenghou Ma's avatar
      doc/reference.html: update list of sub-repositories. · 80de7ab1
      Shenghou Ma authored
      R=golang-dev, bradfitz, r
      CC=golang-dev
      https://golang.org/cl/8766043
      80de7ab1