Skip to content

Commit c5ecc64

Browse files
committed
[mssql] Fix provider emits unnecessary dataChanged signal
Fixes a failing provider conformance test
1 parent f0342ec commit c5ecc64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/providers/mssql/qgsmssqlprovider.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1519,6 +1519,9 @@ QString QgsMssqlProvider::name() const
15191519

15201520
bool QgsMssqlProvider::setSubsetString( const QString &theSQL, bool )
15211521
{
1522+
if ( theSQL.trimmed() == mSqlWhereClause )
1523+
return true;
1524+
15221525
QString prevWhere = mSqlWhereClause;
15231526

15241527
mSqlWhereClause = theSQL.trimmed();

0 commit comments

Comments
 (0)