mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-04 00:06:46 -05:00
[mssql] Use method which takes an existing connection instead of creating new connection
We already have a connection here:
This commit is contained in:
parent
fce4556291
commit
62d42cffdd
@ -259,7 +259,7 @@ QVector<QgsDataItem *> QgsMssqlConnectionItem::createChildren()
|
||||
}
|
||||
|
||||
// add missing schemas (i.e., empty schemas)
|
||||
const QStringList allSchemas = QgsMssqlConnection::schemas( mConnectionUri, nullptr );
|
||||
const QStringList allSchemas = QgsMssqlConnection::schemas( db, nullptr );
|
||||
QStringList excludedSchema = QgsMssqlConnection::excludedSchemasList( mName );
|
||||
for ( const QString &schema : allSchemas )
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user