mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-20 01:25:41 -05:00
Hotfix for ads dashboard for sqlondemand (#885)
* Hotfix for ads dashboard for sqlondemand * Generalizing engine edition functions and adapting tests * Minor comment and cosmetic fixes * Adding SqlOnDemand server edition string
This commit is contained in:
committed by
BranislavGrbicMDCS
parent
d75edd0dbe
commit
84c505f647
@@ -2278,10 +2278,13 @@ WHERE do.database_id = @DbID
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (LogFile logfile in database.LogFiles)
|
||||
if (this.context.Server.DatabaseEngineEdition != DatabaseEngineEdition.SqlOnDemand)
|
||||
{
|
||||
DatabaseFilePrototype logfilePrototype = new DatabaseFilePrototype(this, logfile);
|
||||
this.Add(logfilePrototype);
|
||||
foreach (LogFile logfile in database.LogFiles)
|
||||
{
|
||||
DatabaseFilePrototype logfilePrototype = new DatabaseFilePrototype(this, logfile);
|
||||
this.Add(logfilePrototype);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (ExecutionFailureException)
|
||||
|
||||
Reference in New Issue
Block a user