-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: add test for rebuilding prepared statement plan. #5220
Conversation
LGTM |
executor/prepared_test.go
Outdated
c.Assert(err, IsNil) | ||
rs, err := stmt.Exec(goctx.Background()) | ||
c.Assert(err, IsNil) | ||
_, err = rs.Next() |
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.
Should we check the return value?
B.T.W, can you uncomment here https://github.com/pingcap/tidb/blob/master/new_session_test.go#L1446 |
@shenli |
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.
LGTM
No description provided.