Skip to content

connCheck undefined on v1.5.0 #422

@pineda89

Description

@pineda89

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)

Activity

kshvakov

kshvakov commented on Oct 8, 2021

@kshvakov
Collaborator
darthShadow

darthShadow commented on Oct 9, 2021

@darthShadow

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

saydamir commented on Oct 9, 2021

@saydamir

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @kshvakov@darthShadow@pineda89@saydamir

      Issue actions

        connCheck undefined on v1.5.0 · Issue #422 · ClickHouse/clickhouse-go