handle large decimal (#1326)

This commit is contained in:
Alan Ren
2021-12-02 09:45:45 -08:00
committed by GitHub
parent f9e7b22697
commit fd5b8af0c0
4 changed files with 33 additions and 19 deletions

View File

@@ -98,7 +98,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage
/// <returns>The value of the given column</returns>
public object GetValue(int i)
{
return sqlDataReader == null ? DbDataReader.GetValue(i) : sqlDataReader.GetValue(i);
return sqlDataReader == null ? DbDataReader.GetValue(i) : sqlDataReader.GetSqlValue(i);
}
/// <summary>
@@ -113,7 +113,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage
}
else
{
sqlDataReader.GetValues(values);
sqlDataReader.GetSqlValues(values);
}
}