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

solved Issue7550 #714

Closed
wants to merge 5 commits into from
Closed

solved Issue7550 #714

wants to merge 5 commits into from

Conversation

vmora
Copy link
Contributor

@vmora vmora commented Jul 11, 2013

The commit changes stop to edit features once an error is found. The aim is to minimize DB alteration in case something goes wrong.

vmora added 5 commits July 9, 2013 16:02
- implemented getPrimaryKey member function of QgsSpatiaLiteProvider
- in addFeatures, if an attribute is a primary key, its value is set to
  NULL so that sqlite generates a value automagically
  for that
- modified the test to have multiple column primary key (it fails for
  the moment
- the feature modification stops (in edit buffer) once an error is found
- the test has been modified to refelect the real problem: the data
  corruption, and not the commit failure if primary key are not unique
@vmora
Copy link
Contributor Author

vmora commented Jul 11, 2013

sorry, several commits, I will do a better PR latter today.

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.

None yet

2 participants