Skip to content

Commit

Permalink
fix #7828
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 4, 2013
1 parent 91eaa41 commit 640f345
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -2156,8 +2156,12 @@ bool QgisApp::createDB()
}
}

if ( sqlite3_exec( db, "DROP VIEW vw_srs", 0, 0, &errmsg ) != SQLITE_OK )
{
QgsDebugMsg( QString( "vw_srs didn't exists in private qgis.db: %1" ).arg( errmsg ) );
}

if ( sqlite3_exec( db,
"DROP VIEW vw_srs;"
"CREATE VIEW vw_srs AS"
" SELECT"
" a.description AS description"
Expand Down

0 comments on commit 640f345

Please sign in to comment.