From 6cd9d29332672a492fa237c89da4e42fe6a2f784 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Thu, 2 Dec 2021 14:01:02 +0800 Subject: [PATCH] fix hostname to adapt to other machine --- tests/examples/c/schemaless.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/examples/c/schemaless.c b/tests/examples/c/schemaless.c index 0546924c0f..0b46d2ff13 100644 --- a/tests/examples/c/schemaless.c +++ b/tests/examples/c/schemaless.c @@ -163,7 +163,8 @@ int main(int argc, char* argv[]) { } TAOS_RES* result; - const char* host = "127.0.0.1"; + //const char* host = "127.0.0.1"; + const char* host = NULL; const char* user = "root"; const char* passwd = "taosdata"; -- GitLab