Skip to content

Conversation

bradder555
Copy link
Contributor

@bradder555 bradder555 commented Sep 14, 2017

MSSQL rejects the query:

 SELECT "repository"."id" FROM "repository" INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND "repository".is_mirror=1 WHERE ( ("repository".owner_id=2 AND "repository".is_private=0) OR team_repo.team_id IN (1) ) GROUP BY "repository".id ORDER BY updated_unix DESC 

when the order by term (updated_unix) is not included in the group by term.

MSSQL rejects the query: SELECT "repository"."id" FROM "repository" INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND "repository".is_mirror=1 WHERE ( ("repository".owner_id=2 AND "repository".is_private=0) OR team_repo.team_id IN (1) ) GROUP BY "repository".id ORDER BY updated_unix DESC when the order by term (updated_unix) is not included in the group by term.
@lunny lunny added the type/bug label Sep 14, 2017
@lunny lunny added this to the 1.3.0 milestone Sep 14, 2017
@codecov-io
Copy link

codecov-io commented Sep 14, 2017

Codecov Report

Merging #2504 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #2504 +/- ## ====================================== Coverage 27.7% 27.7% ====================================== Files 83 83 Lines 16914 16914 ====================================== Hits 4686 4686 Misses 11553 11553 Partials 675 675
Impacted Files Coverage Δ
models/org.go 69.36% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f9e20b...760f89a. Read the comment docs.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Sep 14, 2017
@lafriks
Copy link
Member

lafriks commented Sep 14, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Sep 14, 2017
@bradder555
Copy link
Contributor Author

any feedback on the quality of my commit message would be appreciated. Thanks

@lafriks
Copy link
Member

lafriks commented Sep 14, 2017

It describes changes so it is understandable what change fixes, I think it is good ;)

@ethantkoenig
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Sep 15, 2017
@lafriks
Copy link
Member

lafriks commented Sep 15, 2017

Make LG-TM work :)

@lafriks lafriks merged commit ad24a31 into go-gitea:master Sep 15, 2017
lafriks pushed a commit to lafriks-fork/gitea that referenced this pull request Oct 5, 2017
MSSQL rejects the query: SELECT "repository"."id" FROM "repository" INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND "repository".is_mirror=1 WHERE ( ("repository".owner_id=2 AND "repository".is_private=0) OR team_repo.team_id IN (1) ) GROUP BY "repository".id ORDER BY updated_unix DESC when the order by term (updated_unix) is not included in the group by term.
@lafriks lafriks added the backport/done All backports for this PR have been created label Oct 5, 2017
lafriks added a commit that referenced this pull request Oct 5, 2017
MSSQL rejects the query: SELECT "repository"."id" FROM "repository" INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND "repository".is_mirror=1 WHERE ( ("repository".owner_id=2 AND "repository".is_private=0) OR team_repo.team_id IN (1) ) GROUP BY "repository".id ORDER BY updated_unix DESC when the order by term (updated_unix) is not included in the group by term.
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this pull request Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

6 participants