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

decimal(10, 0) has wrong NumericPrecision #356

Closed
bgrainger opened this issue Oct 11, 2017 · 1 comment
Closed

decimal(10, 0) has wrong NumericPrecision #356

bgrainger opened this issue Oct 11, 2017 · 1 comment
Assignees
Labels

Comments

@bgrainger
Copy link
Member

@bgrainger bgrainger commented Oct 11, 2017

create table schema_table (
    dec decimal(10, 0)
);

GetSchemaTable returns a row with ColumnSize = 11, NumericPrecision = 9, and NumericScale = 0. It should return NumericPrecision = 10.

This also appears to be a bug in Connector/NET.

@bgrainger bgrainger added the bug label Oct 11, 2017
@bgrainger bgrainger self-assigned this Oct 11, 2017
@bgrainger
Copy link
Member Author

@bgrainger bgrainger commented Oct 11, 2017

Fixed in 0.28.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant