mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-23 01:25:42 -05:00
Treat databases used by Polybase as system databases when listing databases in a server. (#743)
This commit is contained in:
@@ -922,7 +922,7 @@ namespace Microsoft.SqlTools.CoreServices.Connection
|
||||
}
|
||||
|
||||
string[] results;
|
||||
var systemDBSet = new HashSet<string>(new[] {"master", "model", "msdb", "tempdb"});
|
||||
var systemDBSet = new HashSet<string>(new[] {"master", "model", "msdb", "tempdb", "DWConfiguration", "DWDiagnostics", "DWQueue"});
|
||||
if (includeSystemDBs)
|
||||
{
|
||||
// Put system databases at the top of the list
|
||||
|
||||
Reference in New Issue
Block a user