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

并行查询代码优化 #164

Merged
merged 1 commit into from
Oct 8, 2021
Merged

并行查询代码优化 #164

merged 1 commit into from
Oct 8, 2021

Conversation

PeterWeiWang
Copy link

1、去除无用代码
OPT_PQ, HA_ERR_END_OF_RANGES
2、修改重复定义
PQ_MEMORY_USED_BUCKET
3、消除重复代码
获取并行查询总内存
4、代码结构调整
5、修改格式不规范代码
6、去除多余的头文件
7、问题修改
convert_mq_data_to_record函数中保存可变字段的长度的字节数为1字节
8、逻辑优化
binary_heap构造时入参m_capacity可能为负。初始化时增加负值判断
fixes:#137

@it-is-a-robot
Copy link

@PeterWeiWang, Thanks for your pull request. All the authors of commits have finished signinig CLA successfully. 👋

@liuwei-ck liuwei-ck self-requested a review October 8, 2021 02:13
sql/exchange.cc Outdated Show resolved Hide resolved
1、去除无用代码
OPT_PQ,HA_ERR_END_OF_RANGES
2、修改重复定义
PQ_MEMORY_USED_BUCKET
3、消除重复代码
获取并行查询总内存
4、代码结构调整
5、修改格式不规范代码
6、去除多余的头文件
7、问题修改
convert_mq_data_to_record函数中保存可变字段的长度的字节数为1字节
8、逻辑优化
binary_heap构造时入参m_capacity可能为负。初始化时增加负值判断
@liuwei-ck liuwei-ck merged commit 65d712a into kunpengcompute:pq-kp-dev-q8 Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants