Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Conversation

@erizocosmico
Copy link
Contributor

Closes #466

@erizocosmico erizocosmico requested a review from a team October 18, 2018 08:20
sql/session.go Outdated
log.String("total_time", i.total.String()),
log.String("max_time", i.max.String()),
log.String("min_time", i.min.String()),
log.String("avg_time", (i.total / time.Duration(i.count)).String()),
Copy link
Contributor

Choose a reason for hiding this comment

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

is it possible here to have div by 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, you're right

Copy link
Contributor

@jfontan jfontan left a comment

Choose a reason for hiding this comment

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

Appart from the division by 0 pointed by @kuba-- LGTM.

@erizocosmico
Copy link
Contributor Author

Just fixed the div by 0 thing

@ajnavarro ajnavarro merged commit 5077ae6 into src-d:master Oct 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants