Skip to content

Commit 63224c2

Browse files
committed
Fix incorrect connection info used in oracle connection pool when dbworkspace is set
Fixes crashes in oracle provider when db workspace is set.
1 parent 3643a29 commit 63224c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/oracle/qgsoracleconn.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ QgsOracleConn::QgsOracleConn( const QgsDataSourceUri &uri, bool transaction )
8080

8181
// will be used for logging and access connection from connection pool by name,
8282
// so we don't want login/password here
83-
mConnInfo = uri.connectionInfo( false );
83+
mConnInfo = toPoolName( uri );
8484

8585
QgsDataSourceUri expandedUri = QgsDataSourceUri( uri.connectionInfo( true ) );
8686

0 commit comments

Comments
 (0)