From 71b8223538acd686e4d0cd633ea345a29726cd15 Mon Sep 17 00:00:00 2001 From: wade zhang <95411902+gccgdb1234@users.noreply.github.com> Date: Thu, 28 Apr 2022 12:34:26 +0800 Subject: [PATCH] Update cpp.mdx --- docs-cn/14-reference/03-connector/cpp.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs-cn/14-reference/03-connector/cpp.mdx b/docs-cn/14-reference/03-connector/cpp.mdx index bc22ef49ef..29aebaed3d 100644 --- a/docs-cn/14-reference/03-connector/cpp.mdx +++ b/docs-cn/14-reference/03-connector/cpp.mdx @@ -217,9 +217,9 @@ TDengine 客户端驱动的安装请参考 [安装指南](/reference/connector# ```c typedef struct taosField { - char name[65]; // 列名 - uint8_t type; // 数据类型 - int16_t bytes; // 长度,单位是字节 + char name[65]; // column name + uint8_t type; // data type + int16_t bytes; // length, in bytes } TAOS_FIELD; ``` @@ -307,11 +307,11 @@ TDengine 的异步 API 均采用非阻塞调用模式。应用程序可以用多 typedef struct TAOS_BIND { int buffer_type; void * buffer; - uintptr_t buffer_length; // 未实际使用 + uintptr_t buffer_length; // not in use uintptr_t * length; int * is_null; - int is_unsigned; // 未实际使用 - int * error; // 未实际使用 + int is_unsigned; // not in use + int * error; // not in use } TAOS_BIND; ``` @@ -337,7 +337,7 @@ TDengine 的异步 API 均采用非阻塞调用模式。应用程序可以用多 uintptr_t buffer_length; uintptr_t * length; char * is_null; - int num; // 列的个数,即 buffer 中的参数个数 + int num; // the number of columns } TAOS_MULTI_BIND; ``` -- GitLab