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

Add OPEN_FULLMUTEX flag when opening mbtiles #2185

Merged
merged 9 commits into from
Oct 21, 2020

Conversation

rwrx
Copy link
Contributor

@rwrx rwrx commented Aug 20, 2020

On Android without this flag showing maps from mbtiles works properly as somewhere I read that on Android SQLite is opened with thread-safety, but unfortunately on iOS without this flag showing maps from mbtiles crashes, so this adds thread-safety for iOS devices.

Copy link
Contributor Author

@rwrx rwrx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@matteblair
Copy link
Member

Hey @rwrx, thanks for your patience with this PR! The change to update SQLiteCpp and apply the OPEN_FULLMUTEX flag looks good. I tried reverting the CMake changes because the iOS build was working on my machine without those flags. I think there may be a bug in CMake 3.17 related to iOS builds because it works fine using CMake 3.18.

@matteblair matteblair merged commit 9a0323d into tangrams:master Oct 21, 2020
@rwrx
Copy link
Contributor Author

rwrx commented Oct 21, 2020

@matteblair ok, I understand, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants