Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a useless join in season_view #8375

Merged
merged 1 commit into from Dec 5, 2015

Conversation

phate89
Copy link
Contributor

@phate89 phate89 commented Nov 11, 2015

If I' not wrong in season_view you already have playcount in episode_view. No need to join again files table to get it

@razzeee
Copy link
Member

razzeee commented Nov 11, 2015

Good catch, thank you!

@razzeee razzeee added Type: Improvement non-breaking change which improves existing functionality Component: Database Component: Video labels Nov 11, 2015
@MartijnKaijser
Copy link
Member

@mkortstiege for ok as well. Still in time I guess for v16 else delay?

@phate89
Copy link
Contributor Author

phate89 commented Nov 12, 2015

I updated the pr. There was no need to use episode_view since we need only files and episode tables so I put back the files join and replaced episode_view with episode.
Should be faster now..

@Montellese
Copy link
Member

Should be good.

@MartijnKaijser MartijnKaijser modified the milestone: K***** 17.0-alpha1 Dec 4, 2015
@MartijnKaijser
Copy link
Member

jenkins build this please

MartijnKaijser added a commit that referenced this pull request Dec 5, 2015
Remove a useless join in season_view
@MartijnKaijser MartijnKaijser merged commit 02c0a43 into xbmc:master Dec 5, 2015
@phate89 phate89 deleted the remove_useless_join branch January 6, 2016 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Database Component: Video Type: Improvement non-breaking change which improves existing functionality v17 Krypton
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants