Skip to content

Commit

Permalink
Add schema for mssql when setting where clause
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Aug 3, 2013
1 parent 20e274a commit 0367182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqlprovider.cpp
Expand Up @@ -1330,7 +1330,7 @@ bool QgsMssqlProvider::setSubsetString( QString theSQL, bool )
QString sql = QString( "select count(*) from " );

if ( !mSchemaName.isEmpty() )
mStatement += "[" + mSchemaName + "].";
sql += "[" + mSchemaName + "].";

sql += "[" + mTableName + "]";

Expand Down

0 comments on commit 0367182

Please sign in to comment.