Skip to content
This repository was archived by the owner on Dec 22, 2020. It is now read-only.

Conversation

@andreamaioli
Copy link

@andreamaioli andreamaioli commented Dec 7, 2018

Hi Manuel,
thanks for your sqlite plugin.

We have spotted a problem in the order of query execution, which is not guaranteed if the workload is high. This is because the runInBackground method uses a concurrent queue, not a serial one.

The proposed changes solve the problem by serializing the queries directly in the plugin.

@andreamaioli andreamaioli changed the title Update SQLitePlugin.m Query order execution fix Dec 7, 2018
@mvila
Copy link
Member

mvila commented Dec 19, 2018

Thanks @andreamaioli for this PR, but the native part of this plugin comes from cordova-sqlite-storage, and since I am not very comfortable with this part (I coded only the JavaScript wrapper), I'd prefer to stick to the original code.

Do you know if your issue has already been fixed in cordova-sqlite-storage? If so, I could just update this plugin with the latest version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants