Re: [QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-17 Thread Nyall Dawson via QGIS-Developer
On Wed, 18 Dec 2024 at 03:23, Alessandro Pasotti via QGIS-Developer wrote: > > Hi Andreas, > > I spoke briefly to Even and we agreed that I could use the QGIS funds to work > on a GDAL implementation initially limited to SQLite-based drivers. > > > I don't have a cost estimate yet but I will have

Re: [QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-17 Thread Alessandro Pasotti via QGIS-Developer
Hi Andreas, I spoke briefly to Even and we agreed that I could use the QGIS funds to work on a GDAL implementation initially limited to SQLite-based drivers. I don't have a cost estimate yet but I will have a look before the end of the year. Thanks for the proposal. Il mar 17 dic 2024, 08:53 A

Re: [QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-17 Thread Even Rouault via QGIS-Developer
Le 17/12/2024 à 08:39, Alessandro Pasotti a écrit : Can/should we fix it upstream in GDAL? GDAL vector drivers have never really thought about the possibility of a rollback after a OGRLayer::CreateField()/AlterFieldDefn()/DeleteField(). That's a change that must be done *per driver* that su

Re: [QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-16 Thread Andreas Neumann via QGIS-Developer
Hi, If we can find a developer who could work on this then we can fund it directly from QGIS.ORG. We had so far quite a bit more income than expenses in 2024 and I am looking for meaningful ways to spend additional QGIS funds. Thanks, Andreas On Tue, 17 Dec 2024 at 08:40, Alessandro Pasotti via

Re: [QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-16 Thread Alessandro Pasotti via QGIS-Developer
Can/should we fix it upstream in GDAL? On Tue, Dec 17, 2024 at 2:12 AM Even Rouault via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > It is *partly* broken, that is if you change the structure of tables by > adding/altering/removing columns. within a transaction group. If > adding/upd

Re: [QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-16 Thread Even Rouault via QGIS-Developer
It is *partly* broken, that is if you change the structure of tables by adding/altering/removing columns. within a transaction group. If adding/updating/deleting features only, which I suspect covers most use cases, that should be fine. Le 17/12/2024 à 00:11, Nyall Dawson via QGIS-Developer a

[QGIS-Developer] Warning: auto-transaction groups is broken for recent GDAL versions

2024-12-16 Thread Nyall Dawson via QGIS-Developer
Hi list, Just want to draw attention to https://github.com/qgis/QGIS/pull/59797#issuecomment-2544133498 . In short, the "auto transaction group" functionality is BROKEN when used with sqlite/geopackage files when used with newer GDAL versions. This IS NOT a GDAL issue, but rather just a "happy ac