}
void QgsOgrProviderUtils::releaseDataset( QgsOgrDataset *&ds )
void QgsOgrProviderUtils::releaseDataset( QgsOgrDataset *ds )
{
if ( !ds )
return;
QMutexLocker locker( sGlobalMutex() );
releaseInternal( ds->mIdent, ds->mDs, true );
delete ds;
ds = nullptr;
bool QgsOgrProviderUtils::canDriverShareSameDatasetAmongLayers( const QString &driverName )