File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
python/plugins/db_manager Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 3
3
* SQL Window - "Retrieve columns" don't work => problem in
4
4
dlg_sql_window.py (not enough abstraction for connectors).
5
5
6
- * SQL Window - Can't retrieve column: dlg_sql_window.py launch an
7
- invalid request for Oracle (no LIMIT operator in Oracle). Should
8
- patch dlg_sql_window.py to use a connector method to grab columns.
9
-
10
6
* Query-builder - Add date functions menu (needs to change the main
11
7
code of query builder).
12
8
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ def fillColumnCombos(self):
287
287
cols = []
288
288
quotedCols = []
289
289
connector = self .db .connector
290
- sql = u"SELECT * FROM (%s\n ) AS %s LIMIT 0 " % (unicode (query ), connector .quoteId (alias ))
290
+ sql = u"SELECT * FROM (%s\n ) AS %s WHERE 0=1 " % (unicode (query ), connector .quoteId (alias ))
291
291
292
292
c = None
293
293
try :
You can’t perform that action at this time.
0 commit comments