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、int类型 字段长度不对 #68

Open
flashvayne opened this issue Jun 2, 2022 · 1 comment
Open

decimal、int类型 字段长度不对 #68

flashvayne opened this issue Jun 2, 2022 · 1 comment

Comments

@flashvayne
Copy link

mysql下
deciaml 长4小数2 导出 长5小数2
int 长11 导出 长10

@flashvayne flashvayne changed the title decimal、int等类型 字段长度不对 decimal、int类型 字段长度不对 Jun 2, 2022
@zk750430
Copy link

看了源码,他是对有符号类型中的数字类型的长度全部进行了加1操作,不了解为什么这样做。("NUMERIC", "DECIMAL", "TINYINT", "SMALLINT", "INTEGER", "BIGINT", "REAL","FLOAT", "DOUBLE")这些是进行长度+1的的类型

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

No branches or pull requests

2 participants