mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-15 10:58:31 -05:00
Fix uplevel SQL Server support and differentiate External and FileTable types in object explorer list (#567)
* Differentiate External and FileTable types in object explorer list - Add (External) and (File Table) to the labels - Pre-fetch these properties to avoid perf hit Note on testing: These are both quite hard to initialize, so adding tests to the integration tests would require always having a server with Polybase enabled / FileTable enabled. Given this I feel it should be OK to use manual testing. Long term, we should have unit-level tests that cover the functionality or figure out how to have a perfect pre-configured server and a set of tests to run the breadth of this logic against it. * Fix handling of vNext servers to default to latest known version - Default uplevel / unknown versions to the latest version - In the IsValidFor check also just see if the server version registers as "All" since this is the default for unknown servers. This is a backup handler, the 1st fix is the primary one
This commit is contained in:
@@ -1378,6 +1378,14 @@
|
||||
<value>System-Versioned</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="External_LabelPart" xml:space="preserve">
|
||||
<value>External</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="FileTable_LabelPart" xml:space="preserve">
|
||||
<value>File Table</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="DatabaseNotAccessible" xml:space="preserve">
|
||||
<value>The database {0} is not accessible.</value>
|
||||
<comment></comment>
|
||||
|
||||
Reference in New Issue
Block a user