Revert "Revert "Update to XElite (#1287)" (#1334)" (#1337)

This reverts commit 0d7a3b4168.
This commit is contained in:
Alex Ma
2021-12-17 12:33:57 -08:00
committed by GitHub
parent a6a4e6df9a
commit 196364e81e
15 changed files with 245 additions and 328 deletions

View File

@@ -8756,6 +8756,16 @@ namespace Microsoft.SqlTools.ServiceLayer
return Keys.GetString(Keys.SessionAlreadyExists, sessionName);
}
public static string SessionMissingDetails(int id)
{
return Keys.GetString(Keys.SessionMissingDetails, id);
}
public static string StartProfilingFailed(String error)
{
return Keys.GetString(Keys.StartProfilingFailed, error);
}
public static string UnknownSizeUnit(string unit)
{
return Keys.GetString(Keys.UnknownSizeUnit, unit);
@@ -9944,6 +9954,12 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string SessionAlreadyExists = "SessionAlreadyExists";
public const string SessionMissingDetails = "SessionMissingDetails";
public const string StartProfilingFailed = "StartProfilingFailed";
public const string CategoryLocal = "CategoryLocal";

View File

@@ -1571,6 +1571,16 @@
<value>An XEvent session named {0} already exists</value>
<comment>.
Parameters: 0 - sessionName (String) </comment>
</data>
<data name="SessionMissingDetails" xml:space="preserve">
<value>Unable to start streaming session {0} due to missing session details.</value>
<comment>.
Parameters: 0 - id (int) </comment>
</data>
<data name="StartProfilingFailed" xml:space="preserve">
<value>Failed to start profiler: {0}</value>
<comment>.
Parameters: 0 - error (String) </comment>
</data>
<data name="CategoryLocal" xml:space="preserve">
<value>[Uncategorized (Local)]</value>

View File

@@ -759,7 +759,8 @@ PauseSessionFailed(String error) = Failed to pause session: {0}
StopSessionFailed(String error) = Failed to stop session: {0}
SessionNotFound = Cannot find requested XEvent session
SessionAlreadyExists(String sessionName) = An XEvent session named {0} already exists
SessionMissingDetails(int id) = Unable to start streaming session {0} due to missing session details.
StartProfilingFailed(String error) = Failed to start profiler: {0}
;job categories
CategoryLocal = [Uncategorized (Local)]

View File

@@ -5706,6 +5706,18 @@
<source>Failed to start profiler: {0}</source>
<target state="new">Failed to start profiler: {0}</target>
<note>.
Parameters: 0 - error (String) </note>
</trans-unit>
<trans-unit id="QueryServiceUnsupportedSqlVariantType">
<source>The underlying type "{0}" for sql variant column "{1}" could not be resolved.</source>
<target state="new">The underlying type "{0}" for sql variant column "{1}" could not be resolved.</target>
<note>.
Parameters: 0 - id (int) </note>
</trans-unit>
<trans-unit id="StartProfilingFailed">
<source>Failed to start profiler: {0}</source>
<target state="new">Failed to start profiler: {0}</target>
<note>.
Parameters: 0 - error (String) </note>
</trans-unit>
</body>