mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -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;
|
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)
|
if (includeSystemDBs)
|
||||||
{
|
{
|
||||||
// Put system databases at the top of the list
|
// Put system databases at the top of the list
|
||||||
|
|||||||
Reference in New Issue
Block a user