Commit Graph

16101 Commits

Author SHA1 Message Date
tickduan 3e24cb15ce remove pwr_ reduce to 41s 2021-07-06 09:23:08 +08:00
tickduan 3e8cfacdae reduce head meta from 36 to 2 bytes 2021-07-05 10:12:51 +08:00
tickduan 6438e19373 Merge branch 'develop' into compress_float 2021-07-04 12:32:52 +08:00
tickduan 124cbfde9d merge develop add sz_size_type==4 2021-07-04 12:25:02 +08:00
Haojun Liao c4f96ffc98
Merge pull request #6727 from taosdata/feature/query
Feature/query
2021-07-03 15:19:17 +08:00
Haojun Liao 7699813079 [td-225] fix compiler error. 2021-07-03 14:00:23 +08:00
Haojun Liao 1c24c3d046 [td-225] fix compiler error. 2021-07-03 10:17:59 +08:00
Shuduo Sang adb569817b
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#6726)
* [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.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-03 00:09:18 +08:00
Haojun Liao 8e135b150c [td-225]suppress code check error. 2021-07-02 23:07:32 +08:00
Haojun Liao 5b4775d91f [td-225] suppress the code check warning. 2021-07-02 22:15:45 +08:00
Haojun Liao 4873f4b970 [td-4865]add test cases. 2021-07-02 22:14:11 +08:00
Shuduo Sang adf01a2d6c
Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume for develop (#6724)
* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix heap use-after-free issue.

* fix illegal input value of consume.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-02 19:08:30 +08:00
Haojun Liao 84c8fc9e6c [td-4865]<enhance>: support group by in the outer query. 2021-07-02 18:38:09 +08:00
Haojun Liao a583ae2124
Merge pull request #6720 from taosdata/hotfix/TD-5010
[TD-5010]fix crash issue
2021-07-02 17:48:07 +08:00
Shuduo Sang de69a8a5af
Hotfix/sangshuduo/m2d 20210702 (#6719)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4835] add lua lib

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

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

* merge from commit: 069169e7c1 and fix coverity scan issue.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* TD-4835

* only compile in lua

* [td-4748]<fix>:fix the temp file generate buf on windows platform.

* change cmake options

* [TD-5007]<fix>: use build directory's taosdump to test. (#6710)

btw, solve two taosdemo test cases too.

* Hotfix/sangshuduo/td 4838 taosdump binary len bug (#6713)

* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
2021-07-02 17:31:12 +08:00
wpan fcbb619103 fix crash and functionality 2021-07-02 15:25:44 +08:00
Shuduo Sang c51be7102d
Hotfix/sangshuduo/td 4838 taosdump binary len bug for develop (#6714)
* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.
2021-07-02 14:40:06 +08:00
Shengliang Guan 88c283f904
Merge from master into develop (#6709)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

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

* merge from commit: 069169e7c1 and fix coverity scan issue.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* fix retentionpolicy bug

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
2021-07-02 13:51:18 +08:00
Shuduo Sang 08f11d51ee
[TD-5007]<fix>: use build directory's taosdump to test. (#6711)
btw, solve two taosdemo test cases too.
2021-07-02 10:14:41 +08:00
tickduan 9ee3360601 compare with td finished 2021-07-02 10:08:31 +08:00
Haojun Liao f2611d084f
Merge pull request #6705 from taosdata/feature/query
Feature/query
2021-07-01 23:11:17 +08:00
Haojun Liao f5ae338969
Merge pull request #6687 from bit-hope/develop
fix cmake scripts and reduce compile warnings
2021-07-01 23:10:16 +08:00
Haojun Liao 5f62c311c3
Merge pull request #6694 from taosdata/hotfix/td-4986
[TD-4986]<fix>:fix core when no ts column returned from subquery
2021-07-01 19:16:18 +08:00
Haojun Liao 71367b7836 [td-255] fix a typo 2021-07-01 19:08:43 +08:00
Shuduo Sang 4030108303
Feature/sangshuduo/td 3973 use jemalloc (#6703)
* [TD-3973]<feature>: add jemalloc as submodule.

* add macro definitions in cmake.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* link jemalloc works.

* make install works.

* support jemalloc in release.sh.

* release script works.

* fix a typo.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-01 18:16:07 +08:00
Yiqing Liu d8f06168ae
Merge pull request #6708 from taosdata/test/fix_err_case
fix jenkins err
2021-07-01 18:09:14 +08:00
liuyq-617 788f797ad2 fix jenkins err 2021-07-01 16:53:40 +08:00
Haojun Liao 255d531f92 [td-4988]<fix>: check for having clause in outer query. 2021-07-01 16:53:29 +08:00
Haojun Liao 9b01458bd9 [td-255]fix the bug in recording the elapsed time. 2021-07-01 16:43:09 +08:00
Linhe Huo 824a7c4022
[TD-4989]<fix>: fix stmt_bind_param error for unsigned types (#6692) 2021-07-01 15:33:12 +08:00
Haojun Liao 45289aefde
Merge pull request #6698 from taosdata/feature/query
Feature/query
2021-07-01 15:09:31 +08:00
Shengliang Guan 134375863e
Merge pull request #6651 from junli1026/jun/waltest
Add init/cleaup to waltest to make it work
2021-07-01 15:09:05 +08:00
Haojun Liao c6e1472ac8 Merge branch 'develop' into feature/query 2021-07-01 14:29:54 +08:00
Hui Li ecbf04b233
Merge pull request #6697 from taosdata/test/fix_err_case
fix retention policy error
2021-07-01 14:17:08 +08:00
liuyq-617 a34b5785dd fix jenkins error 2021-07-01 11:59:07 +08:00
Haojun Liao d0a15fea57 Merge remote-tracking branch 'origin/develop' into develop 2021-07-01 11:27:47 +08:00
Haojun Liao 03d4cf770f [td-225]merge develop. 2021-07-01 11:26:58 +08:00
Shuduo Sang ee120bc184
[TD-4987]<fix>: issues memory sanitizier detected. (#6677)
* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.
2021-07-01 10:58:39 +08:00
Haojun Liao 9150fb1889 [td-4970]<fix>: limit/offset is not active in the outer query. 2021-07-01 10:43:12 +08:00
Haojun Liao 41ab4a5f9b [td-4973]<fix>:fix the conversion bug in outer query when handling the data of nchar type. 2021-07-01 10:41:35 +08:00
liuyq-617 a46e18d95b fix retention policy error 2021-07-01 10:15:45 +08:00
Haojun Liao 80d3e361f7
Merge pull request #6683 from taosdata/feature/TD-4953
[TD-4953]<fix>: fixed a crash bug when run taos on Windows.
2021-07-01 10:10:31 +08:00
Haojun Liao 3b19e5c819
Merge pull request #6681 from taosdata/hotfix/td-4972
[TD-4972]<fix>:fix error about double precision conversion on ts expr value
2021-07-01 09:59:51 +08:00
Haojun Liao 752e585f33
Merge pull request #6678 from taosdata/feature/query
Feature/query
2021-07-01 09:54:31 +08:00
Hui Li 718500ba18
Merge pull request #6682 from taosdata/xiaoping/add_test_case
[TD-4951]<test>: add test case
2021-07-01 09:46:18 +08:00
Ganlin Zhao d80c0c2804
[TD-4991]<fix>: fix build failure on MacOS with apple m1 chip (#6688)
* Fix build failure on MacOS with apple m1 chip

* Fix build failure on MacOS with apple m1 chip
2021-07-01 09:43:03 +08:00
Shuduo Sang f7c6347c50
Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume for develop (#6689)
* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix heap use-after-free issue.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-06-30 21:35:26 +08:00
Linhe Huo 067219376c
[TD-4641]<fix>: fix nodejs query result error (#6448)
Update Node.js connector version to v2.0.8
2021-06-30 20:16:22 +08:00
Elias Soong af88f57633
Merge pull request #6696 from taosdata/docs/Update-Latest-Feature
[TD-4928] <docs>: fix typo.
2021-06-30 18:18:15 +08:00
Elias Soong adc6cbc887 [TD-4928] <docs>: fix typo. 2021-06-30 18:17:52 +08:00