mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Fix a syntax error in dlg_sql_layer_window.py
This commit is contained in:
parent
83212e760a
commit
a3f7655030
@ -155,7 +155,7 @@ class DlgSqlLayerWindow(QWidget, Ui_Dialog):
|
||||
schema = uri.schema()
|
||||
if schema and schema.upper() != 'PUBLIC':
|
||||
sql = 'SELECT * FROM ' + schema + '.' + sql
|
||||
else
|
||||
else:
|
||||
sql = 'SELECT * FROM ' + sql
|
||||
self.editSql.setText(sql)
|
||||
self.executeSql()
|
||||
|
Loading…
x
Reference in New Issue
Block a user