Skip to content
Permalink
Browse files

fix #2242

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12394 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 10, 2009
1 parent e8994c4 commit c88cdc969d0391c8d06d7d49e61daec34f8035f0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -207,7 +207,7 @@ bool QgsOgrProvider::setSubsetString( QString theSQL )
QString sql = QString( "SELECT * FROM %1 WHERE %2" )
.arg( quotedIdentifier( OGR_FD_GetName( OGR_L_GetLayerDefn( ogrOrigLayer ) ) ) )
.arg( mSubsetString );
ogrLayer = OGR_DS_ExecuteSQL( ogrDataSource, sql.toUtf8().data(), NULL, NULL );
ogrLayer = OGR_DS_ExecuteSQL( ogrDataSource, mEncoding->fromUnicode( sql ).constData(), NULL, NULL );

if ( !ogrLayer )
{

0 comments on commit c88cdc9

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