From 0bfa9bcf8fba99f71822ecee442bd67de91ec0b5 Mon Sep 17 00:00:00 2001 From: Yaming Pei Date: Sat, 3 Aug 2024 18:23:06 +0800 Subject: [PATCH] The Connector section of the official website reconstructs the C language interface description --- docs/examples/c/with_reqid_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/c/with_reqid_demo.c b/docs/examples/c/with_reqid_demo.c index 287dc9a12a..3091b647c7 100644 --- a/docs/examples/c/with_reqid_demo.c +++ b/docs/examples/c/with_reqid_demo.c @@ -56,7 +56,7 @@ result = taos_query_with_reqid(taos, "USE power", 2L); taos_free_result(result); // query data -const char* sql = "SELECT * FROM power.meters"; +const char* sql = "SELECT ts, current, location FROM power.meters limit 1"; result = taos_query_with_reqid(taos, sql, 3L); code = taos_errno(result); if (code != 0) {