Skip to content

Commit

Permalink
Merge pull request #267 from AceAttorney/bugfix/filter-mssqldb
Browse files Browse the repository at this point in the history
Bugfix/filter mssqldb
  • Loading branch information
LeoQuote authored Jun 11, 2019
2 parents c2c44c9 + d052568 commit 4be082e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/engines/mssql.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_all_databases(self):
sql = "SELECT name FROM master.sys.databases"
result = self.query(sql=sql)
db_list = [row[0] for row in result.rows
if row[0] not in ('information_schema', 'performance_schema', 'mysql', 'test', 'sys')]
if row[0] not in ('master', 'msdb', 'tempdb', 'model')]
result.rows = db_list
return result

Expand Down

0 comments on commit 4be082e

Please sign in to comment.