Skip to content

Conversation

@adrianosela
Copy link

@adrianosela adrianosela commented May 8, 2025

[ME-4546] Merge Bas' Changes into Main

Main now is up to date with upstream, this PR merges his changes to main.

if err != nil {
log.Fatal("Error preparing statement: ", err.Error())
}
defer stmt.Close()
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
Error return value of stmt.Close is not checked (errcheck)

}

session.buf.BeginPacket(packReply, false)
session.buf.Write(loginEnvBytes)
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
Error return value of session.buf.Write is not checked (errcheck)


session.buf.BeginPacket(packReply, false)
session.buf.Write(loginEnvBytes)
session.buf.Write(writeLoginAck(loginAckStruct))
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
Error return value of session.buf.Write is not checked (errcheck)

session.buf.BeginPacket(packReply, false)
session.buf.Write(loginEnvBytes)
session.buf.Write(writeLoginAck(loginAckStruct))
session.buf.Write(writeDone(doneStruct))
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
Error return value of session.buf.Write is not checked (errcheck)

var params []param
var values []interface{}
for {
if b.rpos >= b.rsize {
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
QF1006: could lift into loop condition (staticcheck)

@adrianosela
Copy link
Author

To be done in a new PR with fixes

@adrianosela adrianosela closed this May 8, 2025
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.

3 participants