Skip to content
Permalink
Browse files

keep cached crendential when getting geom type from thread (fix relat…

…ed to commit cddd427)
  • Loading branch information
brushtyler committed Aug 23, 2011
1 parent cddd427 commit bc09ab3539d1aadb69f7714909e997c570075656
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/postgres/qgspgsourceselect.cpp
@@ -641,6 +641,9 @@ void QgsGeomColumnTypeThread::getLayerTypes()
uri.setPassword( password );

pd = PQconnectdb( uri.connectionInfo().toLocal8Bit() );
if ( PQstatus( pd ) == CONNECTION_OK )
QgsCredentials::instance()->put( mConnInfo, username, password );

}

if ( PQstatus( pd ) == CONNECTION_OK )

0 comments on commit bc09ab3

Please sign in to comment.
You can’t perform that action at this time.