未验证 提交 64d63b05 编写于 作者: W wade zhang 提交者: GitHub

Merge pull request #22212 from taosdata/fix/TD-24809-3.0

fix: taos print version
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
static SDnode globalDnode = {0}; static SDnode globalDnode = {0};
static const char *dmOS[10] = {"Ubuntu", "CentOS Linux", "Red Hat", "Debian GNU", "CoreOS", static const char *dmOS[10] = {"Ubuntu", "CentOS Linux", "Red Hat", "Debian GNU", "CoreOS",
"FreeBSD", "openSUSE", "SLES", "Fedora", "MacOS"}; "FreeBSD", "openSUSE", "SLES", "Fedora", "macOS"};
SDnode *dmInstance() { return &globalDnode; } SDnode *dmInstance() { return &globalDnode; }
......
...@@ -68,7 +68,7 @@ int32_t shellCheckIntSize() { ...@@ -68,7 +68,7 @@ int32_t shellCheckIntSize() {
return 0; return 0;
} }
void shellPrintVersion() { printf("version: %s\r\n", version); } void shellPrintVersion() { printf("%s\r\n", shell.info.programVersion); }
void shellGenerateAuth() { void shellGenerateAuth() {
char secretEncrypt[TSDB_PASSWORD_LEN + 1] = {0}; char secretEncrypt[TSDB_PASSWORD_LEN + 1] = {0};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册