Skip to content
Permalink
Browse files

[mssql] Fix provider emits unnecessary dataChanged signal

Fixes a failing provider conformance test
  • Loading branch information
nyalldawson committed Oct 3, 2018
1 parent f0342ec commit c5ecc6484e6bda8b88f0655c8a595ed56bb70e05
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/mssql/qgsmssqlprovider.cpp
@@ -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();

0 comments on commit c5ecc64

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