diff --git a/tests/examples/c/apitest.c b/tests/examples/c/apitest.c index 21cae3a83a97ca01c784ac31bc79bddcbbd09f68..623a51ff37f402afe4fb9b6b7c08af93f899f0ed 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(); }