File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,10 @@ sqlite3_statement_unique_ptr spatialite_database_unique_ptr::prepare( const QStr
75
75
76
76
void QgsSpatialiteCloser::operator ()( sqlite3 *handle )
77
77
{
78
- int res = sqlite3_close ( handle );
78
+ int res = sqlite3_close_v2 ( handle );
79
79
if ( res != SQLITE_OK )
80
80
{
81
- QgsDebugMsg ( QStringLiteral ( " sqlite3_close () failed: %1" ).arg ( res ) );
81
+ QgsDebugMsg ( QStringLiteral ( " sqlite3_close_v2 () failed: %1" ).arg ( res ) );
82
82
}
83
83
84
84
spatialite_cleanup_ex ( mSpatialiteContext );
Original file line number Diff line number Diff line change 21
21
22
22
void QgsSqlite3Closer::operator ()( sqlite3 *database )
23
23
{
24
- sqlite3_close ( database );
24
+ sqlite3_close_v2 ( database );
25
25
}
26
26
27
27
void QgsSqlite3StatementFinalizer::operator ()( sqlite3_stmt *statement )
You can’t perform that action at this time.
0 commit comments