We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent cd64d31 commit fb0b8fdCopy full SHA for fb0b8fd
src/providers/mssql/qgsmssqlprovider.cpp
@@ -1385,6 +1385,9 @@ bool QgsMssqlProvider::deleteFeatures( const QgsFeatureIds &id )
1385
if ( mFidColName.isEmpty() )
1386
return false;
1387
1388
+ if ( id.empty() )
1389
+ return true; // for consistency providers return true to an empty list
1390
+
1391
QString featureIds;
1392
for ( QgsFeatureIds::const_iterator it = id.begin(); it != id.end(); ++it )
1393
{
0 commit comments