mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Result handling for Kusto results (#1079)
* Revert "Fix for displaying multiple table (#1075)"
This reverts commit df0be31019.
* KustoResultsReader trims results
This commit is contained in:
@@ -6,6 +6,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Diagnostics;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
@@ -15,7 +16,7 @@ using Microsoft.Kusto.ServiceLayer.QueryExecution.Contracts;
|
||||
using Microsoft.Kusto.ServiceLayer.QueryExecution.DataStorage;
|
||||
using Microsoft.SqlTools.Utility;
|
||||
using System.Globalization;
|
||||
using Microsoft.Kusto.ServiceLayer.DataSource;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Microsoft.Kusto.ServiceLayer.QueryExecution
|
||||
{
|
||||
@@ -368,14 +369,6 @@ namespace Microsoft.Kusto.ServiceLayer.QueryExecution
|
||||
|
||||
} while (reader.NextResult());
|
||||
|
||||
KustoResultsReader kreader = reader as KustoResultsReader;
|
||||
kreader.SanitizeResults(resultSets);
|
||||
|
||||
foreach (var resultSet in resultSets)
|
||||
{
|
||||
await resultSet.SendCurrentResults();
|
||||
}
|
||||
|
||||
// If there were no messages, for whatever reason (NO COUNT set, messages
|
||||
// were emitted, records returned), output a "successful" message
|
||||
if (!messagesSent)
|
||||
|
||||
Reference in New Issue
Block a user