Skip to content

Commit

Permalink
Merge pull request #2015 from mikkeloscar/bugfix/proc-tree
Browse files Browse the repository at this point in the history
Fix segfault in model.Tree(procs)
  • Loading branch information
bradrydzewski committed May 9, 2017
2 parents d6ceb22 + 97946da commit 1dd723b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions store/datastore/sql/postgres/files/procs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ SELECT
,proc_environ
FROM procs
WHERE proc_build_id = $1
ORDER BY proc_pid ASC

-- name: procs-find-build-pid

Expand Down
1 change: 1 addition & 0 deletions store/datastore/sql/postgres/sql_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ SELECT
,proc_environ
FROM procs
WHERE proc_build_id = $1
ORDER BY proc_pid ASC
`

var procsFindBuildPid = `
Expand Down

0 comments on commit 1dd723b

Please sign in to comment.