-
Notifications
You must be signed in to change notification settings - Fork 0
Merge Bas' Changes into Main #3
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
Conversation
| if err != nil { | ||
| log.Fatal("Error preparing statement: ", err.Error()) | ||
| } | ||
| defer stmt.Close() |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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)) |
There was a problem hiding this comment.
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)) |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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)
|
To be done in a new PR with fixes |
[ME-4546] Merge Bas' Changes into Main
Main now is up to date with upstream, this PR merges his changes to main.