From a05c7e60f39d895924aa3dfbbae04b4123624fc8 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Tue, 9 Mar 2021 09:38:02 +0800 Subject: [PATCH] fix bu --- src/query/src/qParserImpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/query/src/qParserImpl.c b/src/query/src/qParserImpl.c index 96ce07094d..c855b38d4a 100644 --- a/src/query/src/qParserImpl.c +++ b/src/query/src/qParserImpl.c @@ -946,10 +946,10 @@ void setDefaultCreateDbOption(SCreateDbInfo *pDBInfo) { void setDefaultCreateTopicOption(SCreateDbInfo *pDBInfo) { + setDefaultCreateDbOption(pDBInfo); + pDBInfo->dbType = TSDB_DB_TYPE_TOPIC; pDBInfo->partitions = TSDB_DEFAULT_DB_PARTITON_OPTION; - - setDefaultCreateDbOption(pDBInfo); } -- GitLab