Skip to content
Permalink
Browse files

Remove database string from oracle spatial uri

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11897 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 2, 2009
1 parent 7966b78 commit 731aea891b572583a2da14d6689d4a9c4770bf22
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/ogr/qgsogrhelperfunctions.cpp
@@ -57,7 +57,9 @@ QString createDatabaseURI( QString connectionType, QString host, QString databas
else if ( connectionType == "Oracle Spatial" )
{
uri = "OCI:" + user + "/" + password
+ "@" + host + "/" + database;
+ "@" + host;
//MH 091102: connection to orcale does not seem to work with database name in uri
//+ "/" + database;
}
else if ( connectionType == "ODBC" )
{

0 comments on commit 731aea8

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