From 695b1a0fdcd9fe57971437a5d93e0703021626d8 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Sun, 29 Mar 2020 17:00:23 +0800 Subject: [PATCH] [TD-32] merge 2.0 branch --- tests/examples/c/demo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/examples/c/demo.c b/tests/examples/c/demo.c index 6fcedb8123..b621781a3c 100644 --- a/tests/examples/c/demo.c +++ b/tests/examples/c/demo.c @@ -46,7 +46,8 @@ int main(int argc, char *argv[]) { } printf("success to connect to server\n"); - int32_t code = taos_query(taos, "select * from test.t1"); +// int32_t code = taos_query(taos, "insert into test.tm2 values(now, 1)(now+1m,2)(now+2m,3) (now+3m, 4) (now+4m, 5);"); + int32_t code = taos_query(taos, "insert into test.tm2 values(now, 99)"); if (code != 0) { printf("failed to execute query, reason:%s\n", taos_errstr(taos)); } -- GitLab