Add flag so that full column schema is only fetched with EditData queries. (#615)

This commit is contained in:
Cory Rivera
2018-05-03 13:38:08 -07:00
committed by GitHub
parent c4356345f7
commit f57108f198
5 changed files with 32 additions and 13 deletions

View File

@@ -599,7 +599,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution
settings.ExecutionPlanOptions = executeParams.ExecutionPlanOptions;
// If we can't add the query now, it's assumed the query is in progress
Query newQuery = new Query(GetSqlText(executeParams), connectionInfo, settings, BufferFileFactory);
Query newQuery = new Query(GetSqlText(executeParams), connectionInfo, settings, BufferFileFactory, executeParams.GetFullColumnSchema);
if (!ActiveQueries.TryAdd(executeParams.OwnerUri, newQuery))
{
newQuery.Dispose();