Skip to content
Permalink
Browse files

Fix GPKG project storage with UTF8 names on windows

  • Loading branch information
github-actions authored and nyalldawson committed Jun 29, 2020
1 parent 0219ef3 commit eef2a7ba16b01a9bdc73fa98c1686e90e36da17f
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 eef2a7b

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