Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numeric/Decimal support with 19-38 precision [DNET990] #907

Closed
firebird-issue-importer opened this issue Dec 14, 2020 · 5 comments
Closed

Numeric/Decimal support with 19-38 precision [DNET990] #907

firebird-issue-importer opened this issue Dec 14, 2020 · 5 comments

Comments

@firebird-issue-importer

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 14, 2020

Modified by: @cincuranet

issuetype: Bug [ 1 ] => Sub-task [ 5 ]

Parent: DNET812 [ 22129 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 14, 2020

Modified by: @cincuranet

summary: [Firebird 4] Numeric/Decimal support with 19-38 precision => Numeric/Decimal support with 19-38 precision

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 14, 2020

Modified by: @cincuranet

Fix Version: vNext [ 10970 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 14, 2020

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 16, 2020

Modified by: @cincuranet

status: In Progress [ 3 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants