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

statement getUpdateCount记录更新行数含义不对 #24

Closed
RongNanNan opened this issue Dec 29, 2018 · 4 comments
Closed

statement getUpdateCount记录更新行数含义不对 #24

RongNanNan opened this issue Dec 29, 2018 · 4 comments

Comments

@RongNanNan
Copy link

getUpdateCount应该是多结果集时用到,常规更新应该还是-1,或是调用内部持有的statement的getUpdateCount

@8wy1985659
Copy link
Collaborator

现在单库更新的影响行数计算方式就是计算内部持有的statement的getUpdateCount

@RongNanNan
Copy link
Author

并不是,而是把更新行数记下来作为返回数据返回的

@8wy1985659
Copy link
Collaborator

明白你意思了 这里我调整一下

@8wy1985659
Copy link
Collaborator

修改已经提交了
5baf3f0
另外请教下是否有在使用中遇到返回-1的case

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

3 participants