We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent f1eba21 commit 262836dCopy full SHA for 262836d
python/plugins/db_manager/db_plugins/oracle/connector.py
@@ -1698,12 +1698,11 @@ def getSqlDictionary(self):
1698
if self.userTablesOnly:
1699
sql = u"""
1700
SELECT DISTINCT tablename
1701
- FROM "oracle_{0}" WHERE ownername = '{1}'
+ FROM "oracle_{conn}" WHERE ownername = '{user}'
1702
UNION
1703
SELECT DISTINCT ownername
1704
1705
- """.format(self.connName, self.user, self.connName,
1706
- self.user)
+ """.format(conn=self.connName, user=self.user)
1707
1708
c = self.cache_connection.cursor()
1709
c.execute(sql)
0 commit comments