Skip to content

Commit

Permalink
Address review comment from #36823
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 29, 2020
1 parent 81abbbb commit b1307d2
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 b1307d2

Please sign in to comment.