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

[SQLite] Support SAVEPOINT #11695

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

elpaso
Copy link
Collaborator

@elpaso elpaso commented Jan 20, 2025

This actually fixes transactional editing in QGIS for GPKG:
qgis/QGIS#59797 (comment)

Followup #11609

I have also moved the IsGenerated flag to the field definition class as recommended by Even.

Implement SAVEPOINT for sqlite-based layers
Copy link
Member

@rouault rouault left a comment

Choose a reason for hiding this comment

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

Good job!

ogr/ogrfeature.cpp Outdated Show resolved Hide resolved
ogr/ogrfeature.cpp Outdated Show resolved Hide resolved
ogr/ogr_feature.h Outdated Show resolved Hide resolved
ogr/ogrfeature.cpp Outdated Show resolved Hide resolved
ogr/ogrsf_frmts/gpkg/ogrgeopackagedatasource.cpp Outdated Show resolved Hide resolved
@coveralls
Copy link
Collaborator

coveralls commented Jan 20, 2025

Coverage Status

coverage: 70.043% (-0.007%) from 70.05%
when pulling a64554c on elpaso:bugfix-sqlite-savepoints-followup-11609
into fe25f91 on OSGeo:master.

@rouault rouault added this to the 3.11.0 milestone Jan 20, 2025
@rouault rouault merged commit 8f576c0 into OSGeo:master Jan 20, 2025
36 of 38 checks passed
elpaso added a commit to elpaso/QGIS that referenced this pull request Jan 21, 2025
Tell the provider to reload the fields after a rollback
and add some checks to verify if after the rollback
the provider still needs to update the field.

Followup OSGeo/gdal#11695
Followup qgis#59797
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants