Skip to content

Commit

Permalink
Removed metadata table from the list of tables to be cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 17, 2017
1 parent b36ad06 commit dc6d1c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/providers/ogr/qgsgeopackagedataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ bool QgsGeoPackageRasterLayerItem::executeDeleteLayer( QString &errCause )
// Remove from optional tables, may silently fail
for ( const auto tableName : QStringList()
<< QStringLiteral( "gpkg_extensions" )
<< QStringLiteral( "gpkg_metadata" )
<< QStringLiteral( "gpkg_metadata_reference" ) )
{
char *sql = sqlite3_mprintf( "DELETE FROM table %w WHERE table_name = '%q",
Expand Down

0 comments on commit dc6d1c1

Please sign in to comment.