Skip to content

Commit

Permalink
chore(sharding): fix sum prepare
Browse files Browse the repository at this point in the history
Signed-off-by: wangbo <wangbo@sphere-ex.com>
  • Loading branch information
wangbo committed Nov 30, 2022
1 parent 61b8088 commit bad0a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pisa-proxy/runtime/mysql/src/server/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ where
.par_iter()
.cloned()
.unzip();

let count: u64 = count_data.par_iter().sum();
let sum: u64 = sum_data.par_iter().sum();
chunk.par_iter_mut().for_each(|x| {
Expand Down

0 comments on commit bad0a84

Please sign in to comment.