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

connCheck undefined on v1.5.0 #422

Closed
pineda89 opened this issue Oct 8, 2021 · 3 comments · Fixed by #423
Closed

connCheck undefined on v1.5.0 #422

pineda89 opened this issue Oct 8, 2021 · 3 comments · Fixed by #423

Comments

@pineda89
Copy link

pineda89 commented Oct 8, 2021

I receive this error when compile with v1.5.0

clickhouse.go:133:20: ch.conn.connCheck undefined (type *connect has no field or method connCheck)

@kshvakov
Copy link
Collaborator

kshvakov commented Oct 8, 2021

@saydamir

@darthShadow
Copy link

darthShadow commented Oct 9, 2021

This probably needs to be changed (assuming it's being built on one of the unsupported OS):

func connCheck(conn net.Conn) error {

to

func (conn *connect) connCheck() error { 

@saydamir
Copy link
Contributor

saydamir commented Oct 9, 2021

I agree with the reason for the problem that @darthShadow pointed out.
Unfortunately, I have not tested the build on unsupported platforms in #421 .

Fix in #423 .

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 a pull request may close this issue.

4 participants