Skip to content
Permalink
Browse files

Fix GPKG project storage with UTF8 names on windows

(cherry picked from commit 69bcbee)
  • Loading branch information
elpaso authored and nyalldawson committed Jul 21, 2020
1 parent f407d99 commit 73edd15d3e1c8f7376525c52eed20306780ba47c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsgeopackageprojectstorage.cpp
@@ -334,7 +334,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 73edd15

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