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

[database] dont attempt to drop automatically created indices when clearing analytics #9166

Merged
merged 1 commit into from Feb 26, 2016

Conversation

tamland
Copy link
Member

@tamland tamland commented Feb 20, 2016

Causes upgrade to fail for any database using UNIQUE constraints. As documented in https://www.sqlite.org/faq.html#q7 the sql field will be NULL in those cases.

@tamland tamland added Type: Fix non-breaking change which fixes an issue Component: Database labels Feb 20, 2016
@razzeee
Copy link
Member

razzeee commented Feb 20, 2016

outsch, very very good catch.

tamland added a commit that referenced this pull request Feb 26, 2016
[database] dont attempt to drop automatically created indices when clearing analytics
@tamland tamland merged commit e635260 into xbmc:master Feb 26, 2016
@tamland tamland deleted the fix_drop_analytics branch February 26, 2016 17:01
@razzeee razzeee added this to the Krypton 17.0-alpha1 milestone Feb 26, 2016
@MartijnKaijser
Copy link
Member

Backport needed?

@tamland
Copy link
Member Author

tamland commented Feb 26, 2016

Nope. Only relevant for future upgrades.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Database Type: Fix non-breaking change which fixes an issue v17 Krypton
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants