Skip to content

Commit

Permalink
Remove database string from oracle spatial uri
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11897 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 2, 2009
1 parent c6ec0e6 commit 3a9d37d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/ogr/qgsogrhelperfunctions.cpp
Expand Up @@ -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" )
{
Expand Down

0 comments on commit 3a9d37d

Please sign in to comment.