Fix for save as Json failure (#216)

* Fix exception due to repeat disposal of stream

* Fix off by one index for saving selection

* Fix to overwrite file if file already exists

* Fix test for Json save selection

* Add Json Formatting
This commit is contained in:
Sharon Ravindran
2017-01-18 15:47:44 -08:00
committed by GitHub
parent 8a8d4338f1
commit 31e1422a0e
5 changed files with 6 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Test.QueryExecution.DataStorage
var saveParams = new SaveResultsAsJsonRequestParams
{
ColumnStartIndex = 1,
ColumnEndIndex = 3,
ColumnEndIndex = 2,
RowStartIndex = 0, // Including b/c it is required to be a "save selection"
RowEndIndex = 10
};