We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 35808f1 commit ecd4ee1Copy full SHA for ecd4ee1
src/core/qgsspatialiteutils.cpp
@@ -87,14 +87,14 @@ sqlite3_statement_unique_ptr spatialite_database_unique_ptr::prepare( const QStr
87
88
void QgsSpatialiteCloser::operator()( sqlite3 *handle )
89
{
90
-#if defined(SPATIALITE_HAS_INIT_EX)
91
- spatialite_cleanup_ex( mSpatialiteContext );
92
- mSpatialiteContext = nullptr;
93
-#endif
94
-
95
int res = sqlite3_close( handle );
96
if ( res != SQLITE_OK )
97
98
QgsDebugMsg( QStringLiteral( "sqlite3_close() failed: %1" ).arg( res ) );
99
}
+#if defined(SPATIALITE_HAS_INIT_EX)
+ spatialite_cleanup_ex( mSpatialiteContext );
+ mSpatialiteContext = nullptr;
+#endif
+
100
0 commit comments