Skip to content

Commit 640f345

Browse files
committed
fix #7828
1 parent 91eaa41 commit 640f345

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/qgisapp.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,8 +2156,12 @@ bool QgisApp::createDB()
21562156
}
21572157
}
21582158

2159+
if ( sqlite3_exec( db, "DROP VIEW vw_srs", 0, 0, &errmsg ) != SQLITE_OK )
2160+
{
2161+
QgsDebugMsg( QString( "vw_srs didn't exists in private qgis.db: %1" ).arg( errmsg ) );
2162+
}
2163+
21592164
if ( sqlite3_exec( db,
2160-
"DROP VIEW vw_srs;"
21612165
"CREATE VIEW vw_srs AS"
21622166
" SELECT"
21632167
" a.description AS description"

0 commit comments

Comments
 (0)