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

tidb检测影响行数可能超出阈值 #375

Closed
Nanrer opened this issue Aug 18, 2021 · 2 comments
Closed

tidb检测影响行数可能超出阈值 #375

Nanrer opened this issue Aug 18, 2021 · 2 comments

Comments

@Nanrer
Copy link

Nanrer commented Aug 18, 2021

描述
tidb影响行数java 报错, java.sql.SQLDataException: Invalid integer format for value '2709787456'

重现
1,检测行数超过java Integer.MAX_VALUE 就报错(或者修改goinception的影响行数返回给java查询结果)

环境

  • 数据库: tidb
  • 版本: 任何版本

参数

原因:
image
影响行数的类型应该是 mysql.TypeLonglong 才能存下

@hanchuanchuan
Copy link
Owner

是的,当数据量过大时会超过int32上限,稍后会修复该问题.

@hanchuanchuan
Copy link
Owner

该问题已修复. 请下载v1.2.4-99版本后重试.

@Nanrer Nanrer closed this as completed Aug 23, 2021
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