mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
processing: fix interpretation of oracle layers (take II; followup f0daab9)
This commit is contained in:
parent
d855eabc33
commit
31843a78ee
@ -83,14 +83,14 @@ class OgrAlgorithm(GdalAlgorithm):
|
||||
if dsUri.username() != "":
|
||||
ogrstr += dsUri.username()
|
||||
if dsUri.password() != "":
|
||||
ogr += "/" + dsUri.password()
|
||||
ogrstr += "/" + dsUri.password()
|
||||
delim = "@"
|
||||
|
||||
if dsUri.host() != "":
|
||||
ogrstr += delim + dsUri.host()
|
||||
delim = ""
|
||||
if dsUri.port() != "" and dsUri.port() != 1521:
|
||||
ogrstr += ":%d" % dsUri.port()
|
||||
if dsUri.port() != "" and dsUri.port() != '1521':
|
||||
ogrstr += ":" + dsUri.port()
|
||||
ogrstr += "/"
|
||||
if dsUri.database() != "":
|
||||
ogrstr += dsUri.database()
|
||||
|
Loading…
x
Reference in New Issue
Block a user