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

fix mysql #624

Merged
merged 1 commit into from
Jul 21, 2018
Merged

fix mysql #624

merged 1 commit into from
Jul 21, 2018

Conversation

wonderflow
Copy link
Contributor

Fixes [issue number]

Changes

  • feature1
  • feature2
  • fixbug1
  • fixbug2

Reviewers

  • @[someone] please review
  • @[someotherone] please review

Wiki Changes

  • options1...
  • options2...

Checklist

  • Rebased/mergeable
  • Tests pass
  • Wiki updated

@redHJ
Copy link
Collaborator

redHJ commented Jul 21, 2018

lgtm

@@ -1096,7 +1088,7 @@ func (r *Reader) execCountDB(curDB string, now time.Time, recordTablesDone Table

// 每张表的记录数
var tableSize int64
tableSize, err = r.execTableCount(db, idx, curDB, rawSql)
tableSize, err = r.execTableCount(connectStr, idx, curDB, rawSql)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

countdb这边是不是应该也要返回rows.err()?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

并且重试?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个我觉得没有那么重要

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

重试反而重复读数据了

@wonderflow wonderflow merged commit e257a16 into qiniu:master Jul 21, 2018
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

Successfully merging this pull request may close these issues.

2 participants