Skip to content

Commit

Permalink
connectionリークの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
mazrean committed Dec 3, 2024
1 parent ac50c26 commit f7a651d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ func tableListHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
defer rows.Close()

var createTable string
if rows.Next() {
Expand Down

0 comments on commit f7a651d

Please sign in to comment.