Skip to content

Commit

Permalink
[mssql] Fix provider emits unnecessary dataChanged signal
Browse files Browse the repository at this point in the history
Fixes a failing provider conformance test
  • Loading branch information
nyalldawson committed Oct 4, 2018
1 parent f0342ec commit c5ecc64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/mssql/qgsmssqlprovider.cpp
Expand Up @@ -1519,6 +1519,9 @@ QString QgsMssqlProvider::name() const

bool QgsMssqlProvider::setSubsetString( const QString &theSQL, bool )
{
if ( theSQL.trimmed() == mSqlWhereClause )
return true;

QString prevWhere = mSqlWhereClause;

mSqlWhereClause = theSQL.trimmed();
Expand Down

0 comments on commit c5ecc64

Please sign in to comment.