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

A new error By connCheck undefined on v1.5.0 #424

Closed
ocaraworks opened this issue Oct 10, 2021 · 1 comment
Closed

A new error By connCheck undefined on v1.5.0 #424

ocaraworks opened this issue Oct 10, 2021 · 1 comment

Comments

@ocaraworks
Copy link

ocaraworks commented Oct 10, 2021

...\github.com!click!house\[email protected]\clickhouse.go:133:20: ch.conn.connCheck undefined (type *connect has no field or method connCheck) ch.conn.connCheck undefined (type *connect has no field or method connCheck)

in file clickhouse.go on line 133:

if ch.checkConnLiveness {
	if err := ch.conn.connCheck(); err != nil {
		ch.logf("[begin] closing bad idle connection: %w", err)
		ch.Close()
		return ch, driver.ErrBadConn
	}
}

the warning info image :
image

and , I see if i open the connect_check.go , the goland warn that "connect_check.go is ignored by the build tool because of the OS mismatch."
image

@darthShadow
Copy link

Duplicate of #422 with the PR to fix it: #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

No branches or pull requests

3 participants