提交 4466964a 编写于 作者: H hjxilinx

[jira none]

上级 14c9d204
...@@ -2919,6 +2919,7 @@ static int file_order_comparator(const void *p1, const void *p2) { ...@@ -2919,6 +2919,7 @@ static int file_order_comparator(const void *p1, const void *p2) {
/** /**
* open a data files and header file for metric meta query * open a data files and header file for metric meta query
*
* @param pQInfo * @param pQInfo
* @param pVnodeFiles * @param pVnodeFiles
* @param fid * @param fid
...@@ -2929,8 +2930,6 @@ static int file_order_comparator(const void *p1, const void *p2) { ...@@ -2929,8 +2930,6 @@ static int file_order_comparator(const void *p1, const void *p2) {
*/ */
static int32_t vnodeOpenVnodeDBFiles(SQInfo *pQInfo, SQueryFileInfo *pVnodeFiles, int32_t fid, int32_t vnodeId, static int32_t vnodeOpenVnodeDBFiles(SQInfo *pQInfo, SQueryFileInfo *pVnodeFiles, int32_t fid, int32_t vnodeId,
char *fileName, char *prefix) { char *fileName, char *prefix) {
// __off_t size = 0;
pVnodeFiles->fileID = fid; pVnodeFiles->fileID = fid;
pVnodeFiles->defaultMappingSize = DEFAULT_DATA_FILE_MMAP_WINDOW_SIZE; pVnodeFiles->defaultMappingSize = DEFAULT_DATA_FILE_MMAP_WINDOW_SIZE;
......
...@@ -569,7 +569,6 @@ int vnodeProcessShellSubmitRequest(char *pMsg, int msgLen, SShellObj *pObj) { ...@@ -569,7 +569,6 @@ int vnodeProcessShellSubmitRequest(char *pMsg, int msgLen, SShellObj *pObj) {
int sversion = htonl(pBlocks->sversion); int sversion = htonl(pBlocks->sversion);
if (pSubmit->import) { if (pSubmit->import) {
dTrace("start to import data");
code = vnodeImportPoints(pMeterObj, (char *) &(pBlocks->numOfRows), subMsgLen, TSDB_DATA_SOURCE_SHELL, pObj, code = vnodeImportPoints(pMeterObj, (char *) &(pBlocks->numOfRows), subMsgLen, TSDB_DATA_SOURCE_SHELL, pObj,
sversion, &numOfPoints, now); sversion, &numOfPoints, now);
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册