From 05c8a3313fc3056d30645c9c4ed3e0908abf285c Mon Sep 17 00:00:00 2001 From: slguan Date: Thu, 11 Jul 2019 18:52:45 +0800 Subject: [PATCH] Handling a crash on a python client --- src/util/src/tglobalcfg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/src/tglobalcfg.c b/src/util/src/tglobalcfg.c index 6196a1d31c..71ee70e856 100644 --- a/src/util/src/tglobalcfg.c +++ b/src/util/src/tglobalcfg.c @@ -392,6 +392,8 @@ void tsInitGlobalConfig() { TSDB_CFG_UTYPE_NONE); // directory + tsInitConfigOption(cfg++, "configDir", configDir, TSDB_CFG_VTYPE_DIRECTORY, TSDB_CFG_CTYPE_B_CLIENT, 0, 0, + TSDB_FILENAME_LEN, TSDB_CFG_UTYPE_NONE); tsInitConfigOption(cfg++, "dataDir", dataDir, TSDB_CFG_VTYPE_DIRECTORY, TSDB_CFG_CTYPE_B_CONFIG, 0, 0, TSDB_FILENAME_LEN, TSDB_CFG_UTYPE_NONE); tsInitConfigOption(cfg++, "logDir", logDir, TSDB_CFG_VTYPE_DIRECTORY, -- GitLab