diff --git a/src/util/src/tresultBuf.c b/src/util/src/tresultBuf.c index 036012f0b6ee871e24d5cf497b3413e9b507705a..31218670acc0a95c865de27ea945d1ed5ee19e29 100644 --- a/src/util/src/tresultBuf.c +++ b/src/util/src/tresultBuf.c @@ -27,10 +27,6 @@ int32_t createResultBuf(SQueryResultBuf** pResultBuf, int32_t size, int32_t rowS pResBuf->fd = open(pResBuf->path, O_CREAT | O_RDWR, 0666); memset(path, 0, tListLen(path)); - getTmpfilePath("tsdb_q_i", path); - pResBuf->internpath = strdup(path); - - pResBuf->internfd = open(pResBuf->internpath, O_CREAT|O_RDWR, 0666); if (!FD_VALID(pResBuf->fd)) { pError("failed to create tmp file: %s on disk. %s", pResBuf->path, strerror(errno));