Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #36828 from m-kuhn/followup_36823
Address review comment from #36823
  • Loading branch information
m-kuhn committed May 30, 2020
2 parents ffc5033 + b1307d2 commit 9729a43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/plugins/db_manager/dlg_sql_window.py
Expand Up @@ -654,10 +654,9 @@ def _getSqlQuery(self):

def _getExecutableSqlQuery(self):
sql = self._getSqlQuery().strip()
if sql.endswith(';'):
sql = sql[:-1]

uncommented_sql = check_comments_in_sql(sql)
uncommented_sql = uncommented_sql.rstrip(';')
return uncommented_sql

def uniqueChanged(self):
Expand Down

0 comments on commit 9729a43

Please sign in to comment.