File tree Expand file tree Collapse file tree
python/plugins/db_manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33* SQL Window - "Retrieve columns" don't work => problem in
44 dlg_sql_window.py (not enough abstraction for connectors).
55
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-
106* Query-builder - Add date functions menu (needs to change the main
117 code of query builder).
128
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ def fillColumnCombos(self):
287287 cols = []
288288 quotedCols = []
289289 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 ))
291291
292292 c = None
293293 try :
You can’t perform that action at this time.
0 commit comments