Treat databases used by Polybase as system databases when listing databases in a server. (#743)

This commit is contained in:
Cory Rivera
2018-11-21 12:22:13 -08:00
committed by GitHub
parent c9885abb67
commit b384885866

View File

@@ -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