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

expressions: update subquery #110

Merged
merged 2 commits into from
Sep 11, 2015
Merged

expressions: update subquery #110

merged 2 commits into from
Sep 11, 2015

Conversation

siddontang
Copy link
Member

  • Eval can return a scalar or a row value.
  • supports Plan interface for outer fetching multi row data.
  • add ColumnCount for later column check.

@@ -181,6 +186,7 @@ func newMockPlan(rset *mockRecordset) *mockPlan {

func (p *mockPlan) Do(ctx context.Context, f plan.RowIterFunc) error {
for _, data := range p.rset.rows {

Copy link
Member

Choose a reason for hiding this comment

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

Remove this empty line

@coocood
Copy link
Member

coocood commented Sep 11, 2015

LGTM

ngaut added a commit that referenced this pull request Sep 11, 2015
@ngaut ngaut merged commit 6b23c71 into master Sep 11, 2015
@ngaut ngaut deleted the siddontang/update-subquery branch September 11, 2015 04:13
YuJuncen pushed a commit to YuJuncen/tidb that referenced this pull request Apr 23, 2021
* restore: add metrics

* mydump,restore: `mydumper.read-block-size` to init `ChunkParser` read block buffer

* *: limit IO concurrency

* *: add apply worker metrics

* mydump: set read block buffer size to BlockSize * config.BufferSizeScale

* worker: add unit test
YuJuncen pushed a commit to YuJuncen/tidb that referenced this pull request Apr 23, 2021
xhebox pushed a commit to xhebox/tidb that referenced this pull request Sep 28, 2021
xhebox pushed a commit to xhebox/tidb that referenced this pull request Oct 8, 2021
okJiang pushed a commit to okJiang/tidb that referenced this pull request Oct 19, 2021
* reduce select usage when query tables

* fix empty_database bug
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.

4 participants