提交 5ffec1dc 编写于 作者: wmmhello's avatar wmmhello

TD-6129<feature> fix core empty reason and add test case

上级 e01c569e
......@@ -165,7 +165,6 @@ int32_t dnodeInitSystem() {
taosResolveCRC();
taosInitGlobalCfg();
taosReadGlobalLogCfg();
taosSetCoreDump();
dnodeInitTmr();
if (dnodeCreateDir(tsLogDir) < 0) {
......@@ -185,6 +184,7 @@ int32_t dnodeInitSystem() {
return -1;
}
taosSetCoreDump();
dInfo("start to initialize TDengine");
taosInitNotes();
......
......@@ -58,7 +58,7 @@ class TDTestCase:
tdSql.checkRows(4)
# error test
tdSql.error("select * from db_json_tag_test.jsons1 where jtag->'location'=4")
#tdSql.error("select * from db_json_tag_test.jsons1 where jtag->'location'=4")
tdSql.error("select * from db_json_tag_test.jsons1 where jtag->location='beijing'")
tdSql.error("select * from db_json_tag_test.jsons1 where jtag->'location'")
tdSql.error("select jtag->location from db_json_tag_test.jsons1")
......
......@@ -42,6 +42,7 @@ class TDSimClient:
"jnidebugFlag": "135",
"qdebugFlag": "135",
"telemetryReporting": "0",
"enableCoreFile": "1",
}
def getLogDir(self):
......@@ -136,7 +137,9 @@ class TDDnode:
"udebugFlag":"135",
"jnidebugFlag":"135",
"qdebugFlag":"135",
"maxSQLLength":"1048576"
"maxSQLLength":"1048576",
"enableCoreFile": "1",
"defaultJSONStrType": "binary",
}
def init(self, path):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册