From 3a37e5d176c703fe4cb55a5bb388e575b8dddff1 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Fri, 28 May 2021 15:21:34 +0800 Subject: [PATCH] fix bug --- tests/examples/c/apitest.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/examples/c/apitest.c b/tests/examples/c/apitest.c index 21cae3a83a..623a51ff37 100644 --- a/tests/examples/c/apitest.c +++ b/tests/examples/c/apitest.c @@ -947,7 +947,7 @@ int main(int argc, char *argv[]) { printf("server info: %s\n", info); info = taos_get_client_info(taos); printf("client info: %s\n", info); -#if 0 + printf("************ verify query *************\n"); verify_query(taos); @@ -956,24 +956,20 @@ int main(int argc, char *argv[]) { printf("*********** verify subscribe ************\n"); verify_subscribe(taos); -#endif printf("************ verify prepare *************\n"); verify_prepare(taos); - printf("************ verify prepare2 *************\n"); verify_prepare2(taos); printf("************ verify prepare3 *************\n"); verify_prepare3(taos); -#if 0 - printf("************ verify stream *************\n"); verify_stream(taos); printf("done\n"); -#endif + taos_close(taos); taos_cleanup(); } -- GitLab