Commit Graph

16719 Commits

Author SHA1 Message Date
Haojun Liao d63df5673a
Merge pull request #6747 from taosdata/hotfix/TD-5051
[TD-5051]add interval value check
2021-07-05 22:56:47 +08:00
Haojun Liao 68e41b7e32
Merge pull request #6732 from junli1026/jun/hash
Make taosHashGetSize thread-safe and rename function
2021-07-05 22:55:06 +08:00
zyyang-taosdata 053126add3 Merge branch 'develop' of github.com:taosdata/TDengine into release/ver-2.1.4.1 2021-07-05 19:48:31 +08:00
Ping Xiao d390ad7a8e [TD-4983]<test>: add test case for interval boundry 2021-07-05 18:27:32 +08:00
Haojun Liao 95a1c95609
Merge pull request #6742 from taosdata/hotfix/TD-5021
[TD-5021]fix dead loop issue
2021-07-05 18:25:21 +08:00
wpan 752db3477a add interval value check 2021-07-05 18:18:24 +08:00
yihaoDeng 70f9acbfde [TD-4947]<fix> handle mixed group by with top/bottom corrupt 2021-07-05 18:02:32 +08:00
Haojun Liao b2d1471889
Merge branch 'develop' into fix/TD-4947 2021-07-05 18:25:57 +08:00
Hui Li d441dee5e0
Merge pull request #6743 from taosdata/xiaoping/add_test_case
[TD-5000]<test>: add test case for nested query
2021-07-05 17:30:26 +08:00
Hui Li e34cb5a728
Merge pull request #6745 from taosdata/xiaoping/test_case
fix taosdemoPerformance.py runtime error
2021-07-05 17:29:55 +08:00
Ping Xiao 748fadeeff fix taosdemoPerformance.py runtime error 2021-07-05 17:22:45 +08:00
wpan 9debc4992d add diff... group by check 2021-07-05 16:06:43 +08:00
zyyang-taosdata 965f55beeb change version number 2021-07-05 15:43:25 +08:00
Shengliang Guan 2d79c55eff
Merge pull request #6728 from taosdata/fix/TD-4665
CHANGE keepColumnName to 1
2021-07-05 15:36:23 +08:00
Elias Soong 17817986bb [TD-4657] <docs>: describe short version of "LIMIT/SLIMIT OFFSET" clause. 2021-07-05 15:29:46 +08:00
Ping Xiao 18df0e3792 [TD-5000]<test>: add test case for nested query 2021-07-05 14:37:59 +08:00
jtcheng 3875ac107c [TD-6722]: Fix 'table', 'super table', 'stream table' show pattern issue 2021-07-05 13:53:10 +08:00
wpan b77eb38d42 fix dead loop issue 2021-07-05 13:27:00 +08:00
zhaoyanggh 238925ddbc add manual test case of subscription with no result file defined 2021-07-05 13:26:49 +08:00
Shuduo Sang 4e9433020c
[TD-5018]<fix>: taosdemo prompt if the batch is too large to insert data. (#6737) 2021-07-05 13:21:05 +08:00
Shuduo Sang b514f237d1
[TD-5018]<fix>: taosdemo prompt if the batch is too large to insert data. (#6736) 2021-07-05 13:08:17 +08:00
happyguoxy d72671fd73 [TD-4985]<test>:test query limit and offset function 2021-07-05 11:37:11 +08:00
happyguoxy 180b8a279f [TD-4985]<test>:test query limit and offset function 2021-07-05 11:36:30 +08:00
happyguoxy ab1fadef86 [TD-4985]<test>:test query limit and offset function 2021-07-05 11:36:06 +08:00
happyguoxy 26e42a0350 [TD-4985]<test>:test query limit and offset function 2021-07-05 11:35:30 +08:00
Zhiyu Yang 7f2e888bbc
[TD-4939]<test>: add a Proxool Connection Pool Demo (#6657)
* [TD-4939]<test>: add a Proxool Connection Pool Demo

* change
2021-07-05 11:15:42 +08:00
wpan aa81373fed support bigint 2021-07-05 10:37:00 +08:00
jtcheng 95bc9aa96f [self-assign]: Fix self-assignment 2021-07-05 10:10:40 +08:00
wpan a97f80070a add udf case 2021-07-05 09:50:23 +08:00
Jun Li d59c5809ef Make taosHashGetSize thread-safe and rename function 2021-07-04 00:20:49 -07:00
Haojun Liao c4f96ffc98
Merge pull request #6727 from taosdata/feature/query
Feature/query
2021-07-03 15:19:17 +08:00
Cary Xu e94bb93508 add sversion for KV type of SMemRow 2021-07-03 14:59:04 +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
Shuduo Sang 4cc087ecb0
Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#6725)
* [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.

* exit if read sample file failed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-02 22:52:21 +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
Shuduo Sang 93b9371ee8
Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6723)
* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* fix illegal input value of consume.
2021-07-02 18:33:42 +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
jtcheng 5341a6eeac [TD-6536]: Fix memory leak during alter database 2021-07-02 17:01:49 +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
Cary Xu dd8aaaf366 bug fix for reading SDataRow VarT Values 2021-07-02 13:04:32 +08:00
Shuduo Sang 6d94bb059a
Hotfix/sangshuduo/td 4838 taosdump binary len bug (#6713)
* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.
2021-07-02 12:09:08 +08:00