diff --git a/src/client/src/tscSql.c b/src/client/src/tscSql.c index 5f55e1c50d3ef75d6036a7d71419f142bff8cfb9..a98532609178e2d690cd808d046d9b5274397c19 100644 --- a/src/client/src/tscSql.c +++ b/src/client/src/tscSql.c @@ -50,6 +50,10 @@ static bool validPassword(const char* passwd) { return validImpl(passwd, TSDB_KEY_LEN - 1); } +int taos_set_config(const char *config){ + +} + static SSqlObj *taosConnectImpl(const char *ip, const char *user, const char *pass, const char *auth, const char *db, uint16_t port, void (*fp)(void *, TAOS_RES *, int), void *param, TAOS **taos) { if (taos_init()) { diff --git a/src/inc/taos.h b/src/inc/taos.h index 6fa30737e71e8f40cee817386ad4d2c26661777f..107dbc2826bb022bacd48c57351bc8a699afa4c5 100644 --- a/src/inc/taos.h +++ b/src/inc/taos.h @@ -71,6 +71,7 @@ typedef struct taosField { DLL_EXPORT int taos_init(); DLL_EXPORT void taos_cleanup(void); DLL_EXPORT int taos_options(TSDB_OPTION option, const void *arg, ...); +DLL_EXPORT int taos_set_config(const char *config); DLL_EXPORT TAOS *taos_connect(const char *ip, const char *user, const char *pass, const char *db, uint16_t port); DLL_EXPORT TAOS *taos_connect_auth(const char *ip, const char *user, const char *auth, const char *db, uint16_t port); DLL_EXPORT void taos_close(TAOS *taos);