Skip to content
Permalink
Browse files
Fix #8366
  • Loading branch information
slarosa committed Jul 28, 2013
1 parent 98be7a4 commit 9cabd33c0c568af72a985fda7d47e8bbda1b89cc
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/db_manager/dlg_sql_window.py
@@ -225,8 +225,8 @@ def fillColumnCombos(self):
aliasIndex = 0
while True:
alias = "_%s__%d" % ("subQuery", aliasIndex)
escaped = '\\b("?)' + QRegExp.escape(alias) + '\\1\\b'
if not query.contains( QRegExp(escaped, Qt.CaseInsensitive) ):
escaped = re.compile('\\b("?)' + re.escape(alias) + '\\1\\b')
if not escaped.search(query):
break
aliasIndex += 1

0 comments on commit 9cabd33

Please sign in to comment.