Skip to content
Permalink
Browse files

Fix GPKG project storage with UTF8 names on windows

  • Loading branch information
elpaso committed Jun 29, 2020
1 parent fb9df9f commit 69bcbeee70e14d5bced0d6979f5b1c339ac373e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsgeopackageprojectstorage.cpp
@@ -341,7 +341,7 @@ QString QgsGeoPackageProjectStorage::_executeSql( const QString &uri, const QStr
char *errmsg = nullptr;
( void )sqlite3_exec(
db.get(), /* An open database */
sql.toLocal8Bit(), /* SQL to be evaluated */
sql.toUtf8(), /* SQL to be evaluated */
nullptr, /* Callback function */
nullptr, /* 1st argument to callback */
&errmsg /* Error msg written here */

0 comments on commit 69bcbee

Please sign in to comment.
You can’t perform that action at this time.