From 28edaccf30df9d96365dd9350cb63dc2f5f28a67 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Fri, 19 May 2017 17:55:32 +0200 Subject: [PATCH] update generated sql code --- store/datastore/sql/postgres/sql_gen.go | 2 +- store/datastore/sql/sqlite/sql_gen.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/store/datastore/sql/postgres/sql_gen.go b/store/datastore/sql/postgres/sql_gen.go index e147603363..4528f38b4b 100644 --- a/store/datastore/sql/postgres/sql_gen.go +++ b/store/datastore/sql/postgres/sql_gen.go @@ -164,7 +164,7 @@ SELECT ,proc_environ FROM procs WHERE proc_build_id = $1 -ORDER BY proc_pid ASC +ORDER BY proc_id ASC ` var procsFindBuildPid = ` diff --git a/store/datastore/sql/sqlite/sql_gen.go b/store/datastore/sql/sqlite/sql_gen.go index 1a06db44e9..6fe62934bb 100644 --- a/store/datastore/sql/sqlite/sql_gen.go +++ b/store/datastore/sql/sqlite/sql_gen.go @@ -164,6 +164,7 @@ SELECT ,proc_environ FROM procs WHERE proc_build_id = ? +ORDER BY proc_id ASC ` var procsFindBuildPid = `