You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like support for increased precision for numeric/decimal types in Firebird 4 is currently missing as quering data of such type results in exception.
ArgumentOutOfRangeException: 'type=32752 ' (or 32753 when reading from table column)
at FirebirdSql.Data.Client.Managed.XdrReaderWriter.ReadDecimal(Int32 type, Int32 scale)
using (var cn = new FbConnection("..."))
{
cn.Open();
using (var cmd = cn.CreateCommand())
{
cmd.CommandText = "SELECT CAST(1 AS NUMERIC(19)) FROM RDB$DATABASE";
using (var rd = cmd.ExecuteReader())
{
while (rd.Read())
{ }
}
}
}
Submitted by: mace windu (mace_windu)
Jira_subtask_inward DNET812
Looks like support for increased precision for numeric/decimal types in Firebird 4 is currently missing as quering data of such type results in exception.
ArgumentOutOfRangeException: 'type=32752 ' (or 32753 when reading from table column)
at FirebirdSql.Data.Client.Managed.XdrReaderWriter.ReadDecimal(Int32 type, Int32 scale)
using (var cn = new FbConnection("..."))
{
cn.Open();
using (var cmd = cn.CreateCommand())
{
cmd.CommandText = "SELECT CAST(1 AS NUMERIC(19)) FROM RDB$DATABASE";
using (var rd = cmd.ExecuteReader())
{
while (rd.Read())
{ }
}
}
}
Commits: 7401378
The text was updated successfully, but these errors were encountered: