Skip to content
Permalink
Browse files

Code layout

  • Loading branch information
elpaso committed Jun 18, 2020
1 parent 1763dad commit 5a6438064ee60b5378804e40fcb76c796d358dfd
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/spatialite/qgsspatialiteprovider.cpp
@@ -5744,7 +5744,6 @@ bool QgsSpatiaLiteProvider::getTableSummaryAbstractInterface( gaiaVectorLayerPtr
lyr->ExtentInfos->MaxX, lyr->ExtentInfos->MaxY );
// This can be wrong! see: GH #29264
// mNumberFeatures = lyr->ExtentInfos->Count;

// Note: the unique ptr here does not own the handle, it is just used for the convenience
// methods available within the class.
sqlite3_database_unique_ptr slPtr;
@@ -5756,7 +5755,7 @@ bool QgsSpatiaLiteProvider::getTableSummaryAbstractInterface( gaiaVectorLayerPtr
stmt.step();
mNumberFeatures = sqlite3_column_int64( stmt.get(), 0 );
}
// Note: the pointer handle is ownd by the provider, releasing it
// Note: the pointer handle is owned by the provider, releasing it
slPtr.release();
}
else

0 comments on commit 5a64380

Please sign in to comment.
You can’t perform that action at this time.