Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
b03bce78
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b03bce78
编写于
8月 02, 2016
作者:
H
Heikki Linnakangas
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unused argument.
上级
9e1e324d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
14 deletion
+6
-14
src/backend/access/aocs/aocssegfiles.c
src/backend/access/aocs/aocssegfiles.c
+6
-12
src/backend/cdb/cdbdatabaseinfo.c
src/backend/cdb/cdbdatabaseinfo.c
+0
-1
src/include/access/aocssegfiles.h
src/include/access/aocssegfiles.h
+0
-1
未找到文件。
src/backend/access/aocs/aocssegfiles.c
浏览文件 @
b03bce78
...
...
@@ -215,7 +215,6 @@ AOCSFileSegInfo **GetAllAOCSFileSegInfo(Relation prel,
results
=
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
RelationGetNumberOfAttributes
(
prel
),
RelationGetRelationName
(
prel
),
aoEntry
,
pg_aocsseg_rel
,
appendOnlyMetaDataSnapshot
,
totalseg
);
...
...
@@ -249,13 +248,12 @@ aocsFileSegInfoCmp(const void *left, const void *right)
return
0
;
}
AOCSFileSegInfo
**
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
int
numOfColumns
,
char
*
relationName
,
AppendOnlyEntry
*
aoEntry
,
Relation
pg_aocsseg_rel
,
Snapshot
snapshot
,
int32
*
totalseg
)
AOCSFileSegInfo
**
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
int
numOfColumns
,
char
*
relationName
,
Relation
pg_aocsseg_rel
,
Snapshot
snapshot
,
int32
*
totalseg
)
{
int32
nvp
=
numOfColumns
;
...
...
@@ -270,8 +268,6 @@ AOCSFileSegInfo **GetAllAOCSFileSegInfo_pg_aocsseg_rel(
bool
*
null
;
int
seginfo_slot_no
=
AO_FILESEGINFO_ARRAY_SIZE
;
Assert
(
aoEntry
!=
NULL
);
/* MPP-16407:
* Initialize the segment file information array, we first allocate 8 slot for the array,
* then array will be dynamically expanded later if necessary.
...
...
@@ -1172,7 +1168,6 @@ gp_aocsseg_internal(PG_FUNCTION_ARGS, Oid aocsRelOid)
context
->
aocsSegfileArray
=
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
aocsRel
->
rd_rel
->
relnatts
,
RelationGetRelationName
(
aocsRel
),
aoEntry
,
pg_aocsseg_rel
,
SnapshotNow
,
&
context
->
totalAocsSegFiles
);
...
...
@@ -1405,7 +1400,6 @@ gp_aocsseg_history(PG_FUNCTION_ARGS)
context
->
aocsSegfileArray
=
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
RelationGetNumberOfAttributes
(
aocsRel
),
RelationGetRelationName
(
aocsRel
),
aoEntry
,
pg_aocsseg_rel
,
SnapshotAny
,
// Get ALL tuples from pg_aocsseg_% including aborted and in-progress ones.
&
context
->
totalAocsSegFiles
);
...
...
src/backend/cdb/cdbdatabaseinfo.c
浏览文件 @
b03bce78
...
...
@@ -1100,7 +1100,6 @@ DatabaseInfo_HandleAppendOnly(
aocsSegfileArray
=
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
dbInfoRel
->
relnatts
,
dbInfoRel
->
relname
,
aoEntry
,
pg_aocsseg_rel
,
SnapshotNow
,
&
totalAocsSegFiles
);
...
...
src/include/access/aocssegfiles.h
浏览文件 @
b03bce78
...
...
@@ -158,7 +158,6 @@ extern AOCSFileSegInfo **
GetAllAOCSFileSegInfo_pg_aocsseg_rel
(
int
numOfColumsn
,
char
*
relationName
,
AppendOnlyEntry
*
aoEntry
,
Relation
pg_aocsseg_rel
,
Snapshot
appendOnlyMetaDataSnapshot
,
int32
*
totalseg
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录