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

Misc fixes #539

Merged
merged 3 commits into from
Apr 1, 2015
Merged

Misc fixes #539

merged 3 commits into from
Apr 1, 2015

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Apr 1, 2015

RateLimiter is for throttling SASL handshakes, which will come later; I lost workstation connectivity.

@@ -171,7 +171,7 @@ func makeBindVars(args []driver.Value) map[string]interface{} {
}
bv := make(map[string]interface{}, len(args))
for i, v := range args {
bv[fmt.Sprintf("v%d", i)] = v
bv[fmt.Sprintf("v%d", i+1)] = v
Copy link
Contributor

Choose a reason for hiding this comment

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

How about a unit test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a unit test already, which uses fakeserver_test.go. It was faulty.

Copy link
Contributor

Choose a reason for hiding this comment

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

I missed the test file, my bad.

@alainjobart
Copy link
Contributor

LGTM after unit test :)

sougou added a commit that referenced this pull request Apr 1, 2015
@sougou sougou merged commit 8fe2772 into master Apr 1, 2015
@sougou sougou mentioned this pull request Apr 2, 2015
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.

None yet

2 participants