Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
07bdb95b
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
07bdb95b
编写于
5月 29, 2023
作者:
wmmhello
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:compile error
上级
78db3520
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
6 deletion
+6
-6
include/libs/executor/executor.h
include/libs/executor/executor.h
+1
-1
source/dnode/vnode/src/tq/tq.c
source/dnode/vnode/src/tq/tq.c
+1
-1
source/dnode/vnode/src/tq/tqMeta.c
source/dnode/vnode/src/tq/tqMeta.c
+1
-1
source/dnode/vnode/src/tq/tqRead.c
source/dnode/vnode/src/tq/tqRead.c
+1
-1
source/libs/executor/src/executil.c
source/libs/executor/src/executil.c
+2
-2
未找到文件。
include/libs/executor/executor.h
浏览文件 @
07bdb95b
...
@@ -82,7 +82,7 @@ qTaskInfo_t qCreateStreamExecTaskInfo(void* msg, SReadHandle* readers, int32_t v
...
@@ -82,7 +82,7 @@ qTaskInfo_t qCreateStreamExecTaskInfo(void* msg, SReadHandle* readers, int32_t v
qTaskInfo_t
qCreateQueueExecTaskInfo
(
void
*
msg
,
SReadHandle
*
pReaderHandle
,
int32_t
vgId
,
int32_t
*
numOfCols
,
qTaskInfo_t
qCreateQueueExecTaskInfo
(
void
*
msg
,
SReadHandle
*
pReaderHandle
,
int32_t
vgId
,
int32_t
*
numOfCols
,
uint64_t
id
);
uint64_t
id
);
int32_t
qGetTableList
(
int64_t
suid
,
void
*
metaHandle
,
void
*
pVnode
,
void
*
node
,
SArray
**
tableList
);
int32_t
qGetTableList
(
int64_t
suid
,
void
*
pVnode
,
void
*
node
,
SArray
**
tableList
);
/**
/**
* set the task Id, usually used by message queue process
* set the task Id, usually used by message queue process
...
...
source/dnode/vnode/src/tq/tq.c
浏览文件 @
07bdb95b
...
@@ -713,7 +713,7 @@ int32_t tqProcessSubscribeReq(STQ* pTq, int64_t sversion, char* msg, int32_t msg
...
@@ -713,7 +713,7 @@ int32_t tqProcessSubscribeReq(STQ* pTq, int64_t sversion, char* msg, int32_t msg
}
}
SArray
*
tbUidList
=
NULL
;
SArray
*
tbUidList
=
NULL
;
ret
=
qGetTableList
(
req
.
suid
,
pVnode
->
pMeta
,
pVnode
,
pHandle
->
execHandle
.
execTb
.
node
,
&
tbUidList
);
ret
=
qGetTableList
(
req
.
suid
,
pVnode
,
pHandle
->
execHandle
.
execTb
.
node
,
&
tbUidList
);
if
(
ret
!=
TDB_CODE_SUCCESS
)
{
if
(
ret
!=
TDB_CODE_SUCCESS
)
{
tqError
(
"qGetTableList error:%d vgId:%d, subkey:%s consumer:0x%"
PRIx64
,
ret
,
pVnode
->
config
.
vgId
,
req
.
subKey
,
pHandle
->
consumerId
);
tqError
(
"qGetTableList error:%d vgId:%d, subkey:%s consumer:0x%"
PRIx64
,
ret
,
pVnode
->
config
.
vgId
,
req
.
subKey
,
pHandle
->
consumerId
);
taosArrayDestroy
(
tbUidList
);
taosArrayDestroy
(
tbUidList
);
...
...
source/dnode/vnode/src/tq/tqMeta.c
浏览文件 @
07bdb95b
...
@@ -347,7 +347,7 @@ int32_t tqMetaRestoreHandle(STQ* pTq) {
...
@@ -347,7 +347,7 @@ int32_t tqMetaRestoreHandle(STQ* pTq) {
}
}
SArray
*
tbUidList
=
NULL
;
SArray
*
tbUidList
=
NULL
;
int
ret
=
qGetTableList
(
handle
.
execHandle
.
execTb
.
suid
,
pTq
->
pVnode
->
pMeta
,
pTq
->
pVnode
,
handle
.
execHandle
.
execTb
.
node
,
&
tbUidList
);
int
ret
=
qGetTableList
(
handle
.
execHandle
.
execTb
.
suid
,
pTq
->
pVnode
,
handle
.
execHandle
.
execTb
.
node
,
&
tbUidList
);
if
(
ret
!=
TDB_CODE_SUCCESS
)
{
if
(
ret
!=
TDB_CODE_SUCCESS
)
{
tqError
(
"qGetTableList error:%d handle %s consumer:0x%"
PRIx64
,
ret
,
handle
.
subKey
,
handle
.
consumerId
);
tqError
(
"qGetTableList error:%d handle %s consumer:0x%"
PRIx64
,
ret
,
handle
.
subKey
,
handle
.
consumerId
);
taosArrayDestroy
(
tbUidList
);
taosArrayDestroy
(
tbUidList
);
...
...
source/dnode/vnode/src/tq/tqRead.c
浏览文件 @
07bdb95b
...
@@ -1084,7 +1084,7 @@ int32_t tqUpdateTbUidList(STQ* pTq, const SArray* tbUidList, bool isAdd) {
...
@@ -1084,7 +1084,7 @@ int32_t tqUpdateTbUidList(STQ* pTq, const SArray* tbUidList, bool isAdd) {
}
else
if
(
pTqHandle
->
execHandle
.
subType
==
TOPIC_SUB_TYPE__TABLE
)
{
}
else
if
(
pTqHandle
->
execHandle
.
subType
==
TOPIC_SUB_TYPE__TABLE
)
{
if
(
isAdd
)
{
if
(
isAdd
)
{
SArray
*
list
=
NULL
;
SArray
*
list
=
NULL
;
int
ret
=
qGetTableList
(
pTqHandle
->
execHandle
.
execTb
.
suid
,
pTq
->
pVnode
->
pMeta
,
pTq
->
pVnode
,
pTqHandle
->
execHandle
.
execTb
.
node
,
&
list
);
int
ret
=
qGetTableList
(
pTqHandle
->
execHandle
.
execTb
.
suid
,
pTq
->
pVnode
,
pTqHandle
->
execHandle
.
execTb
.
node
,
&
list
);
if
(
ret
!=
TDB_CODE_SUCCESS
)
{
if
(
ret
!=
TDB_CODE_SUCCESS
)
{
tqError
(
"qGetTableList in tqUpdateTbUidList error:%d handle %s consumer:0x%"
PRIx64
,
ret
,
pTqHandle
->
subKey
,
pTqHandle
->
consumerId
);
tqError
(
"qGetTableList in tqUpdateTbUidList error:%d handle %s consumer:0x%"
PRIx64
,
ret
,
pTqHandle
->
subKey
,
pTqHandle
->
consumerId
);
taosArrayDestroy
(
list
);
taosArrayDestroy
(
list
);
...
...
source/libs/executor/src/executil.c
浏览文件 @
07bdb95b
...
@@ -1152,14 +1152,14 @@ _end:
...
@@ -1152,14 +1152,14 @@ _end:
return
code
;
return
code
;
}
}
int32_t
qGetTableList
(
int64_t
suid
,
void
*
metaHandle
,
void
*
pVnode
,
void
*
node
,
SArray
**
tableList
){
int32_t
qGetTableList
(
int64_t
suid
,
void
*
pVnode
,
void
*
node
,
SArray
**
tableList
){
SSubplan
*
pSubplan
=
(
SSubplan
*
)
node
;
SSubplan
*
pSubplan
=
(
SSubplan
*
)
node
;
SScanPhysiNode
pNode
=
{
0
};
SScanPhysiNode
pNode
=
{
0
};
pNode
.
suid
=
suid
;
pNode
.
suid
=
suid
;
pNode
.
uid
=
suid
;
pNode
.
uid
=
suid
;
pNode
.
tableType
=
TSDB_SUPER_TABLE
;
pNode
.
tableType
=
TSDB_SUPER_TABLE
;
STableListInfo
*
pTableListInfo
=
tableListCreate
();
STableListInfo
*
pTableListInfo
=
tableListCreate
();
int
code
=
getTableList
(
metaHandle
,
pVnode
,
&
pNode
,
pSubplan
->
pTagCond
,
pSubplan
->
pTagIndexCond
,
pTableListInfo
,
"qGetTableList"
);
int
code
=
getTableList
(
pVnode
,
&
pNode
,
pSubplan
->
pTagCond
,
pSubplan
->
pTagIndexCond
,
pTableListInfo
,
"qGetTableList"
);
*
tableList
=
pTableListInfo
->
pTableList
;
*
tableList
=
pTableListInfo
->
pTableList
;
pTableListInfo
->
pTableList
=
NULL
;
pTableListInfo
->
pTableList
=
NULL
;
tableListDestroy
(
pTableListInfo
);
tableListDestroy
(
pTableListInfo
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录