Commit Graph

18413 Commits

Author SHA1 Message Date
Shuduo Sang 9aa505f7df
Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#7510)
* [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.

* exit if read sample file failed.

* fix converity scan issue.

* fix coverity scan issue.

* fix coverity scan memory leak.

* fix resource leak reported by coverity scan.

* fix taosdemo coverity scan issue.

* fix tcsetattr and getchar return value determination bug.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-08-22 21:49:47 +08:00
Shuduo Sang 03c9253d9a
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#7509)
* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

* [TD-3197] <fix>: taosdemo coverity scan issues.

* [TD-3197] <fix>: fix memory leak when parsing arguments.

* [TD-3197] <fix>: fix cmake strip arguments.

* [TD-3197] <fix>: taosdemo coverity scan.

fix cmake string manipulation.

* [TD-3197]<fix>: taosdemo coverity scan issue.

configDir buffer overwrite.

* [TD-3197]<fix>: coverity scan issue.

taosdump argument validation.

* [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.

* [TD-3197]<fix>: taosdemo coverity scan.

append result buf to file. for develop branch.

* exit if read sample file failed.

* fix converity scan issue.

* fix coverity scan issue.

* fix coverity scan memory leak.

* fix resource leak reported by coverity scan.

* fix taosdemo coverity scan issue.

* fix tcsetattr and getchar return value determination bug.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-08-22 21:10:56 +08:00
xywang 96a4a48e43 [TD-6001]<enhance>: use db_name in url if exists 2021-08-22 17:01:46 +08:00
zyyang 3c2732e1d2 fix the title 2021-08-22 01:24:59 +08:00
zyyang 4d01963ec2 [TD-6255]<doc>: java connector document 2021-08-22 01:18:57 +08:00
Shuduo Sang ffcb8f6a4a
[TD-6253]<fix>: taosdump cmdline param verification. (#7506) 2021-08-21 21:58:17 +08:00
Shuduo Sang 5080c2a4be
[TD-6253]<fix>: taosdump cmdline param verification. (#7505) 2021-08-21 21:58:08 +08:00
afwerar 8d7cb8f0c2 [TD-6169]<fix>: windows dll client can not quit. 2021-08-21 21:25:56 +08:00
Elias Soong e7fb90ee14
Merge pull request #7507 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: describe version dependency of cacheLast parameter.
2021-08-21 20:01:02 +08:00
Elias Soong c61c3de638 [TD-2639] <docs>: describe version dependency of cacheLast parameter. 2021-08-21 20:00:10 +08:00
Zhiqiang Wang 87bf0e2b36
[TD-5772]<fix>: arm64 compilation problem. (#7357)
* [TD-5772]<fix>: arm64 compilation problem.

* [TD-5772]<fix>: arm64 compilation problem.

* [TD-5772]<fix>: arm64 compilation problem.

* [TD-5772]<fix>: arm64 compilation problem.

* [TD-5772]<fix>: arm64 compilation problem.

* [TD-5772]<fix>: arm64 compilation problem.

* [TD-5772]<fix>: arm64 compilation problem.
2021-08-21 17:23:39 +08:00
Shuduo Sang de12a8ef46
[TD-6251]<fix>: taosdemo error msg with datetime info. (#7501) 2021-08-21 16:21:26 +08:00
Haojun Liao bba581cfdf
Merge pull request #7502 from taosdata/fix/20
[td-6229] enable the last_row cache while query condition exists.
2021-08-21 15:29:04 +08:00
wangmm0220 aa3102cd72 [TD-6046]<fix> fix ts top/bottom error 2021-08-21 11:10:59 +08:00
Shengliang Guan de3e81e03d
Merge pull request #7496 from taosdata/test/TD-6068
[TD-6068] <test> add test case for TD-6068
2021-08-21 10:01:17 +08:00
Shengliang Guan ad39459b59
Merge pull request #7499 from taosdata/fix/TD-6164
[TD-6164]<fix>: fix deadlock with fopen's malloc
2021-08-21 10:00:50 +08:00
Shuduo Sang d02d71c16d
[TD-6251]<fix>: taosdemo error msg with datetime info. (#7500) 2021-08-21 09:06:19 +08:00
Haojun Liao a8f1208dbd [td-6229] enable the last_row cache while query condition exists. 2021-08-20 22:48:23 +08:00
xiaolei li c3d19d52c9
TD-6162 repaire error in demo.py (#7422) 2021-08-20 19:57:15 +08:00
Elias Soong 03d7708d38
Merge pull request #7498 from taosdata/docs/Update-Latest-Feature
[TD-4555] <docs>: update example code about SQL function DERIVATIVE().
2021-08-20 19:17:10 +08:00
Minglei Jin 8d5c67ee5d [TD-6164]<fix>: fix deadlock with fopen's malloc 2021-08-20 19:17:02 +08:00
Elias Soong d0c6f75f15 [TD-4555] <docs>: update example code about SQL function DERIVATIVE(). 2021-08-20 19:16:47 +08:00
Elias Soong 9cab5d3673
Merge pull request #7497 from taosdata/docs/Update-Latest-Feature
[TD-4555] <docs>: add example code about SQL function DERIVATIVE().
2021-08-20 18:57:34 +08:00
Elias Soong d4acd45407 [TD-4555] <docs>: add example code about SQL function DERIVATIVE(). 2021-08-20 18:57:10 +08:00
cpwu 1733d74619 [TD-6068] <test> add test case for TD-6068 2021-08-20 18:45:15 +08:00
dapan1121 8cd5a3d81f
Merge pull request #7478 from taosdata/enhance/TD-6233
[TD-6233]<enhance>: make column compression threshold user configurable
2021-08-20 18:44:40 +08:00
dapan1121 fcba9320b4
Merge pull request #7439 from taosdata/fix/TD-6011-master
[TD-6011]<fix>: where clause including 'bool' Keyword causes core dump
2021-08-20 18:20:04 +08:00
dapan1121 80aa65dd56
Merge pull request #7440 from taosdata/fix/TD-6011
[TD-6011]<fix>: where clause including 'bool' Keyword causes core dump
2021-08-20 18:18:20 +08:00
dapan1121 d31f23f6d5
Merge pull request #7441 from taosdata/fix/TD-6011-2.0
[TD-6011]<fix>: where clause including 'bool' Keyword causes core dump
2021-08-20 18:17:56 +08:00
wpan c26d34a684 fix bug 2021-08-20 18:15:59 +08:00
Elias Soong c545acffa9
Merge pull request #7494 from taosdata/docs/Update-Latest-Feature
[TD-5331] <docs>: describe stmt function for inserting data into mult…
2021-08-20 17:32:54 +08:00
Elias Soong 7ad6085339 [TD-5331] <docs>: describe stmt function for inserting data into multi sub-tables belong to one same super table. 2021-08-20 17:32:32 +08:00
liuyq-617 5053132cf4 [TD-6223]concurrent query support nested query 2021-08-20 16:34:41 +08:00
Linhe Huo 306137cac5
[TD-6241]<fix>: fix unexpected nan while inserting None as float/doub… (#7486)
* [TD-6241]<fix>: fix unexpected nan while inserting None as float/double type

* [TD-6241]<fix>: fix binary bind error in python connector
2021-08-20 16:28:09 +08:00
Elias Soong 2fcc703f65
Merge pull request #7490 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: fix typo in parameters.
2021-08-20 16:27:39 +08:00
dapan1121 e07be20f76
Merge pull request #7483 from taosdata/fix/TD-6046-master
[TD-6046]<fix> fix ts top/bottom/diff/derivative ts error
2021-08-20 16:19:29 +08:00
Elias Soong 5028335841
Merge pull request #7476 from jackwener/master
Format docs.md
2021-08-20 16:09:23 +08:00
Elias Soong adf1e47032
In some emphasized text, spaces are also added between the English and Chinese text. 2021-08-20 16:08:30 +08:00
卡比卡比 af7517b355
Update docs.md 2021-08-20 15:35:54 +08:00
卡比卡比 3716370ab9
Update docs.md 2021-08-20 15:33:37 +08:00
Linhe Huo a2e5f6504c
[TD-6231]<fix>: fix all none error of stmt multibind in python connector (#7482) 2021-08-20 14:00:45 +08:00
zhaoyanggh b77d26a1d1 [TD-6176]<test> add stmt query test script 2021-08-20 12:49:01 +08:00
wangmm0220 8f8e86bb8a [TD-6046]<fix> fix ts top/bottom/diff/derivative ts error 2021-08-20 10:52:46 +08:00
Ganlin Zhao 033fcd857b [TD-6234]<test>: add unit test case for TD-6011 2021-08-20 10:51:17 +08:00
Ganlin Zhao f9f9664073 [TD-6234]<test>: add unit test case for TD-6011 2021-08-20 10:49:05 +08:00
Ganlin Zhao 8d9ed8e7f9 [TD-6234]<test>: add unit test case for TD-6011 2021-08-20 10:46:21 +08:00
tomchon deb5279ab7 change version number 2021-08-20 10:37:07 +08:00
wangmm0220 9382752389 [TD-6046]<fix> fix ts top/bottom index error when using order by 2021-08-20 10:34:53 +08:00
Hongze Cheng 032cea14fa
Merge pull request #7467 from taosdata/fix/TD-6207-develop
Fix/td 6207 develop
2021-08-20 10:33:53 +08:00
Hongze Cheng 9f96559a01
Merge pull request #6531 from taosdata/feature/TD-4352
[TD-4352]compact tsdb meta data feature
2021-08-20 10:33:04 +08:00