We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0626467 commit d261ed5Copy full SHA for d261ed5
src/core/qgsslconnect.cpp
@@ -14,6 +14,7 @@
14
***************************************************************************/
15
16
#include "qgsslconnect.h"
17
+#include "qgslogger.h"
18
19
#include <sqlite3.h>
20
#include <spatialite.h>
@@ -52,6 +53,11 @@ int QgsSLConnect::sqlite3_close( sqlite3 *db )
52
53
spatialite_cleanup_ex( mSLconns.take( db ) );
54
#endif
55
56
+ if ( res != SQLITE_OK )
57
+ {
58
+ QgsDebugMsg( QString( "sqlite3_close() failed: %1" ).arg( res ) );
59
+ }
60
+
61
return res;
62
}
63
@@ -85,5 +91,10 @@ int QgsSLConnect::sqlite3_close_v2( sqlite3 *db )
85
91
86
92
87
93
94
95
96
97
98
88
99
89
100
0 commit comments