Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6667 closed defect (fixed)

Crash when disk full on GPKG/MBTiles creation

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.1.2
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

2 issues :

  • OGRSQLiteBaseDataSource::DoTransactionCommand() inappropriately touches nSoftTransactionLevel, whereas it is the responisiblity of calling function to do so
  • the GPKG/MBTiles drivers do not check if the COMMIT is successful

Change History (7)

comment:1 by Even Rouault, 7 years ago

Resolution: fixed
Status: newclosed

In 35566:

SQLite: don't touch nSoftTransactionLevel in DoTransactionCommand() in case of error, since it can cause later CPLAssert() to trigger (fixes #6667)

comment:2 by Even Rouault, 7 years ago

In 35567:

GPKG/MBTiles: check if transaction COMMIT is succesful (fixes #6667)

comment:3 by Even Rouault, 7 years ago

In 35568:

SQLite: don't touch nSoftTransactionLevel in DoTransactionCommand() in case of error, since it can cause later CPLAssert() to trigger (fixes #6667)

comment:4 by Even Rouault, 7 years ago

In 35569:

GPKG/MBTiles: check if transaction COMMIT is succesful (fixes #6667)

comment:5 by Even Rouault, 7 years ago

Milestone: 2.1.2

comment:6 by Even Rouault, 7 years ago

In 35589:

GPKG: complementary commit refs #6667

comment:7 by Even Rouault, 7 years ago

In 35590:

GPKG: complementary commit refs #6667

Note: See TracTickets for help on using tickets.