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

fix query/statement error unexpected passed when result is statement/query ok #187

Merged
merged 4 commits into from
Jul 24, 2023

Conversation

JackTan25
Copy link
Contributor

No description provided.

@JackTan25
Copy link
Contributor Author

@xxchan please review?

Comment on lines 247 to 250
#[error(
"{kind} is expected to fail with error:\n\t{expected_err}\nbut pass test\n[SQL] {sql}"
)]
MismatchPass {
Copy link
Member

Choose a reason for hiding this comment

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

It seems the same as TestErrorKind::Ok?

}
.at(loc));
}
}
(
Record::Query {
Copy link
Member

Choose a reason for hiding this comment

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

I think this branch has the same problem and can be fixed in the same way. Would you mind fixing it together?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@xxchan xxchan changed the title fix #181,#178 fix query/statement error unexpected passed when result is statement/query ok Jul 24, 2023
@JackTan25 JackTan25 requested a review from xxchan July 24, 2023 15:52
Signed-off-by: JackTan25 <[email protected]>
Copy link
Member

@xxchan xxchan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@xxchan xxchan enabled auto-merge (squash) July 24, 2023 16:16
@xxchan xxchan disabled auto-merge July 24, 2023 16:16
Signed-off-by: xxchan <[email protected]>
@xxchan xxchan enabled auto-merge (squash) July 24, 2023 16:18
@xxchan xxchan merged commit 6afd335 into risinglightdb:main Jul 24, 2023
@xxchan
Copy link
Member

xxchan commented Jul 24, 2023

0.15.1 published

@JackTan25
Copy link
Contributor Author

0.15.1 published

thanks

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