From 370c67361c20d63c8913bb9afa00efc585bea3c0 Mon Sep 17 00:00:00 2001 From: Hui Li Date: Mon, 8 Jun 2020 15:12:50 +0800 Subject: [PATCH] [modify string len for version] --- src/util/src/version.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/src/version.c b/src/util/src/version.c index 753cf71bc8..0d5e08ce75 100644 --- a/src/util/src/version.c +++ b/src/util/src/version.c @@ -1,5 +1,5 @@ -char version[TSDB_VERSION_LEN] = "2.0.0.0"; -char compatible_version[TSDB_VERSION_LEN] = "2.0.0.0"; +char version[12] = "2.0.0.0"; +char compatible_version[12] = "2.0.0.0"; char gitinfo[48] = "3264067e97300c84caa61ac909d548c9ca56de6b"; char gitinfoOfInternal[48] = "da88f4a2474737d1f9c76adcf0ff7fd0975e7342"; char buildinfo[64] = "Built by root at 2020-04-01 14:38"; -- GitLab