Skip to content

Commit

Permalink
coprocessor: Refine LazyBatchColumn to use BufferVec (tikv#4796)
Browse files Browse the repository at this point in the history
Signed-off-by: Breezewish <breezewish@pingcap.com>
  • Loading branch information
breezewish committed Jun 12, 2019
1 parent 168b913 commit 6a3f632
Show file tree
Hide file tree
Showing 12 changed files with 197 additions and 367 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ profiler = { path = "components/profiler" }
match_template = { path = "components/match_template" }
cop_datatype = { path = "components/cop_datatype" }
cop_codegen = { path = "components/cop_codegen" }
codec = { path = "components/codec" }
tipb_helper = { path = "components/tipb_helper" }
tipb = { git = "https://github.com/pingcap/tipb.git" }
# TODO: use master branch after the next version is released.
Expand Down
4 changes: 1 addition & 3 deletions src/coprocessor/codec/batch/buffer_vec.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.

#![allow(dead_code)]

use std::iter::*;

/// A vector like container storing multiple buffers. Each buffer is a `[u8]` slice in
Expand Down Expand Up @@ -189,7 +187,7 @@ impl BufferVec {
}
}

/// Retain the elements according to a boolean array.
/// Retains the elements according to a boolean array.
///
/// # Panics
///
Expand Down

0 comments on commit 6a3f632

Please sign in to comment.