Skip to content

Conversation

@VinaiRachakonda
Copy link
Contributor

No description provided.

func (u *UpdateSource) getChildSchema() (sql.Schema, error) {
if j, ok := u.Child.(JoinNode); ok {
return j.Schema(), nil
if ok := nodeHasJoin(u.Child); ok {
Copy link
Member

Choose a reason for hiding this comment

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

No need to use the assignment syntax here, just

if nodeHasJoin(...) {

@VinaiRachakonda VinaiRachakonda merged commit 4b5e169 into main Oct 20, 2021
@Hydrocharged Hydrocharged deleted the vinai/make-tests-determinate branch December 8, 2021 07:13
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.

2 participants