diff --git a/documentation20/webdocs/markdowndocs/connector-ch.md b/documentation20/webdocs/markdowndocs/connector-ch.md
index 511bf5a9a75455b1d255d4852b310d12ce898aa3..2cd12c37791ff6dba8251e61c292a6c7d84b0b12 100644
--- a/documentation20/webdocs/markdowndocs/connector-ch.md
+++ b/documentation20/webdocs/markdowndocs/connector-ch.md
@@ -338,16 +338,11 @@ TDengine 目前支持时间戳、数字、字符、布尔类型,与 Java 对
maven 项目中使用如下 pom.xml 配置即可:
```xml
-
-
- com.taosdata.jdbc
- taos-jdbcdriver
- 2.0.0
- jar
- system
- {localdir}/connector/taos-jdbcdriver-2.0.0-dist.jar
-
-
+
+ com.taosdata.jdbc
+ taos-jdbcdriver
+ 2.0.1
+
```
### 源码编译打包
@@ -1099,3 +1094,18 @@ promise2.then(function(result) {
[这里](https://github.com/taosdata/TDengine/tree/master/tests/examples/nodejs/node-example-raw.js)同样是一个使用NodeJS 连接器建表,插入天气数据并查询插入的数据的代码示例,但和上面不同的是,该示例只使用`cursor`.
+[1]: https://search.maven.org/artifact/com.taosdata.jdbc/taos-jdbcdriver
+[2]: https://mvnrepository.com/artifact/com.taosdata.jdbc/taos-jdbcdriver
+[3]: https://github.com/taosdata/TDengine
+[4]: https://www.taosdata.com/blog/2019/12/03/jdbcdriver%e6%89%be%e4%b8%8d%e5%88%b0%e5%8a%a8%e6%80%81%e9%93%be%e6%8e%a5%e5%ba%93/
+[5]: https://github.com/brettwooldridge/HikariCP
+[6]: https://github.com/alibaba/druid
+[7]: https://github.com/taosdata/TDengine/issues
+[8]: https://search.maven.org/artifact/com.taosdata.jdbc/taos-jdbcdriver
+[9]: https://mvnrepository.com/artifact/com.taosdata.jdbc/taos-jdbcdriver
+[10]: https://maven.aliyun.com/mvn/search
+[11]: https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/SpringJdbcTemplate
+[12]: https://github.com/taosdata/TDengine/tree/develop/tests/examples/JDBC/springbootdemo
+[13]: https://www.taosdata.com/cn/documentation20/administrator/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE
+[14]: https://www.taosdata.com/cn/documentation20/connector/#Windows
+[15]: https://www.taosdata.com/cn/getting-started/#%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B
\ No newline at end of file
diff --git a/src/client/inc/tsclient.h b/src/client/inc/tsclient.h
index 7a44870938f943e1aec667f4ecf0890fd394ff43..b38e6377a9e56d38966d9b3b13d8d87735972c4b 100644
--- a/src/client/inc/tsclient.h
+++ b/src/client/inc/tsclient.h
@@ -157,7 +157,7 @@ typedef struct SParamInfo {
int32_t idx;
char type;
uint8_t timePrec;
- short bytes;
+ int16_t bytes;
uint32_t offset;
} SParamInfo;
diff --git a/src/client/src/tscPrepare.c b/src/client/src/tscPrepare.c
index 3ddfc1c34126d5b1d26a8dafb2e6e1e2481c880a..0df1c7ddc514f133f8c4b53852613b8c212ecfb6 100644
--- a/src/client/src/tscPrepare.c
+++ b/src/client/src/tscPrepare.c
@@ -298,7 +298,7 @@ static int doBindParam(char* data, SParamInfo* param, TAOS_BIND* bind) {
break;
case TSDB_DATA_TYPE_BINARY:
- if ((*bind->length) > param->bytes) {
+ if ((*bind->length) > (uintptr_t)param->bytes) {
return TSDB_CODE_TSC_INVALID_VALUE;
}
size = (short)*bind->length;
diff --git a/src/inc/taos.h b/src/inc/taos.h
index 1d609bc7dbb7f5fe9bc1c26b169fcbdbac973cef..f3cc9bb4d79f1ca23d983154e7dad17f07802926 100644
--- a/src/inc/taos.h
+++ b/src/inc/taos.h
@@ -72,8 +72,8 @@ DLL_EXPORT void taos_close(TAOS *taos);
typedef struct TAOS_BIND {
int buffer_type;
void * buffer;
- unsigned long buffer_length; // unused
- unsigned long *length;
+ uintptr_t buffer_length; // unused
+ uintptr_t *length;
int * is_null;
int is_unsigned; // unused
int * error; // unused