From b4581c63833f43f446e1e034182db3d9b84a537c Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Tue, 29 Mar 2022 20:23:40 +0800 Subject: [PATCH] [TD-13603]: python connector (#11103) * add a few stmt_ interface declartion * add taos_load_table_info --- include/util/taoserror.h | 2 +- source/client/src/clientMain.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/util/taoserror.h b/include/util/taoserror.h index 994ad7afc6..d49e83b012 100644 --- a/include/util/taoserror.h +++ b/include/util/taoserror.h @@ -16,7 +16,7 @@ #ifndef _TD_UTIL_TAOS_ERROR_H_ #define _TD_UTIL_TAOS_ERROR_H_ -#include "os.h" +#include #ifdef __cplusplus extern "C" { diff --git a/source/client/src/clientMain.c b/source/client/src/clientMain.c index b1ada016e8..40c601f63f 100644 --- a/source/client/src/clientMain.c +++ b/source/client/src/clientMain.c @@ -407,6 +407,11 @@ void taos_unsubscribe(TAOS_SUB *tsub, int keepProgress) { // TODO } +int taos_load_table_info(TAOS *taos, const char *tableNameList) { + // TODO + return -1; +} + TAOS_STMT *taos_stmt_init(TAOS *taos) { // TODO return NULL;