Commit Graph

14209 Commits

Author SHA1 Message Date
Minglei Jin 278fc08441 [TD-3710]<fix>: [sync/memory] fix peer connection invalid read post freeing 2021-04-08 18:09:41 +08:00
haojun Liao 910b78f290
Merge pull request #5658 from taosdata/feature/TD-2577
[TD-2577]support having
2021-04-08 16:16:31 +08:00
haojun Liao 766f16348d
Merge pull request #5701 from taosdata/hotfix/TD-3675
[TD-3675]taosd crashes for percentile query
2021-04-08 16:15:10 +08:00
haojun Liao 308097813a
Merge pull request #5717 from taosdata/hotfix/TD-3694
[TD-3694]fix mem leak issue
2021-04-08 16:14:59 +08:00
haojun Liao 31f93ee066
Merge pull request #5718 from taosdata/hotfix/TD-3695
[TD-3695]taos crash issue
2021-04-08 16:14:39 +08:00
haojun Liao 5ebbbb92d6
Merge pull request #5726 from taosdata/hotfix/TD-3707
[TD-3707]block projection with group by query
2021-04-08 16:14:09 +08:00
dapan1121 f81b77209b TD-3707 2021-04-08 15:26:20 +08:00
Shuduo Sang af90320a89
Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5723)
* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* test

* [TD-3677]<test>: test pr message 1

* [TD-3671]<test>change target branch

* [TD-3677]<test>: test pr message 2

* [TD-3677]<test>: test pr message 3

* Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5688)

* [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.

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

* remove useless file

* fix changing target branch

* fix

* fix

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5706)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

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

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

* Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5713)

* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

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

* fix taosdemo limit invalid warning condition.

* [TD-3683]<fix>: reduce buffer size for more stable table creation. (#5719)

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

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: plum-lihui <huili@taosdata.com>
Co-authored-by: Elias Soong <elias.soong@gmail.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
2021-04-08 13:07:18 +08:00
Shuduo Sang db481c5919
Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5721)
* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

* fix taosdemo limit invalid warning condition.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-08 13:06:30 +08:00
yihaoDeng 57e77b5f41 enlarge default time 2021-04-08 12:10:51 +08:00
huili 0911932751
Merge pull request #5699 from taosdata/test/TD-3295
[TD-3295]<test> add case for TD-3295
2021-04-08 11:12:50 +08:00
huili 0e246a7f19
Merge branch 'master' into test/TD-3295 2021-04-08 11:12:43 +08:00
huili 2d9ae6998a
Merge pull request #5697 from taosdata/test/TD-3652
[TD-3652]<test> add case for TD-3652 to resolve TD-3590
2021-04-08 11:10:39 +08:00
Shuduo Sang bbf49cb8c6
[TD-3683]<fix>: reduce buffer size for more stable table creation. (#5720)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-08 10:50:26 +08:00
Shuduo Sang e8b965c779
[TD-3683]<fix>: reduce buffer size for more stable table creation. (#5719)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-08 10:50:04 +08:00
dapan1121 0eac169fb2 fix crash issue 2021-04-07 19:35:01 +08:00
dapan1121 fdb5c5adc1 fix mem leak issue 2021-04-07 19:23:47 +08:00
Shuduo Sang 5fec22e965
Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5713)
* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-07 18:36:34 +08:00
Shuduo Sang 568a3ebc87
Hotfix/sangshuduo/td 3607 for master (#5712)
* test

* [TD-3677]<test>: test pr message 1

* [TD-3671]<test>change target branch

* [TD-3677]<test>: test pr message 2

* [TD-3677]<test>: test pr message 3

* Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5688)

* [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.

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

* remove useless file

* fix changing target branch

* fix

* fix

* [TD-3607]<fix>: fix taosdemo limit and offset.

if offset+limit > count.

* [TD-3607]<fix>: taosdemo limit and offset.

if child tbl not exist, dont take limit and offset value.

Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: plum-lihui <huili@taosdata.com>
Co-authored-by: Elias Soong <elias.soong@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-07 17:55:54 +08:00
Shengliang Guan 532e2f0806
Merge pull request #5710 from taosdata/hotfix/mtod
Master
2021-04-07 17:45:28 +08:00
Ping Xiao ba3fbea58c [TD-3676]<test>: add test case 2021-04-07 16:21:38 +08:00
Shengliang Guan e8162e6c9c
Merge branch 'develop' into hotfix/mtod 2021-04-07 15:53:40 +08:00
Shengliang Guan bc9c47b472
Merge pull request #5708 from taosdata/fix/TD-3579
[TD-3579]<fix>: sort mnode syncCfg nodeInfo to fix leader election failure
2021-04-07 15:45:58 +08:00
Shuduo Sang b0d979ff32
[TD-3607]<fix>: fix taosdemo limit and offset. (#5707)
if offset+limit > count.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-07 14:02:31 +08:00
Minglei Jin 891cf50ce9 [TD-3579]<fix>: sort mnode syncCfg nodeInfo to fix leader election failure 2021-04-07 12:51:52 +08:00
Shuduo Sang edcb9d5f02
Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5706)
* [TD-3607] <fix>: fix taosdemo buffer overflow.

* [TD-3607] <fix>: taosdemo buffer overflow.

add tmp buffer.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix data generation.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix normal table writting.

* [TD-3607] <fix>: taosdemo buffer overflow.

remove tail spaces.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table test case.

* [TD-3607] <fix>: taosdemo buffer overflow.

fix taosdemo alter table case.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust limit offset count warning.

* [TD-3607] <fix>: taosdemo buffer overflow.

add more logic for child tables exist.

* [TD-3607] <fix>: taosdemo buffer overflow.

create database if database be dropped only.

* [TD-3607] <fix>: fix taosdemo buffer overflow.

adjust limit and offset test cases.

* [TD-3607] <fix>: taosdemo buffer overflow.

adjust sample data test case.

* [TD-3607]<fix>: taosdemo limit and offset.

if limit+offset > count

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-07 12:47:02 +08:00
wu champion 8a8eaf5053
Merge pull request #5705 from taosdata/master
Master
2021-04-07 10:18:15 +08:00
wu champion 91a60312f0 Merge branch 'master' into test/TD-3295 2021-04-07 10:06:44 +08:00
dapan1121 2e1ae21f06 Merge branch 'master' into hotfix/TD-3675 2021-04-07 10:06:00 +08:00
huili 70cec08dab
Merge pull request #5704 from taosdata/fix/jenkins
fix
2021-04-07 10:04:31 +08:00
huili 8e88aab401
Merge pull request #5702 from taosdata/test/testcase
fix changing target branch
2021-04-07 10:04:25 +08:00
liuyq-617 70e9e2325e Merge branch 'fix/jenkins' of github.com:taosdata/TDengine into fix/jenkins 2021-04-07 09:59:26 +08:00
liuyq-617 f9f08a5ec2 fix 2021-04-07 09:59:17 +08:00
liuyq-617 ef0b6eade2 fix 2021-04-07 09:58:37 +08:00
Yiqing Liu 1f89811b1f
Merge branch 'master' into fix/jenkins 2021-04-07 09:47:55 +08:00
liuyq-617 5d4d10d0bb fix 2021-04-07 09:46:36 +08:00
liuyq-617 517b77e903 fix 2021-04-07 09:46:09 +08:00
liuyq-617 65ebf17311 fix 2021-04-07 09:34:13 +08:00
liuyq-617 1d1c987bac fix changing targe branch 2021-04-07 09:20:32 +08:00
liuyq-617 136f0a184b Merge branch 'develop' into test/jenkins 2021-04-07 09:18:23 +08:00
liuyq-617 885012b1a0 Merge branch 'develop' into test/testcase 2021-04-07 09:16:19 +08:00
liuyq-617 2f1bd5855c fix changing target branch 2021-04-07 09:14:20 +08:00
huili 05fca963b5
Merge pull request #5692 from taosdata/test/TD-3654
[TD-3654]<test>add case for TD-3654 to master
2021-04-06 18:38:41 +08:00
dapan1121 88973b5460 TD-3675 2021-04-06 18:26:55 +08:00
wu champion 7db5c29d1e [TD-3295]<test> add case for TD-3295 2021-04-06 18:18:10 +08:00
Elias Soong b00e6be499
Merge pull request #5698 from taosdata/test/TD-3677
remove useless file
2021-04-06 18:11:35 +08:00
wu champion 9f858447f7
Update fulltest.sh 2021-04-06 18:09:13 +08:00
plum-lihui 8ef4764a12 remove useless file 2021-04-06 18:08:56 +08:00
wu champion 41b9b98e3c [TD-3652]<test> add case for TD-3652 to resolve TD-3590 2021-04-06 18:06:59 +08:00
huili a85b9911c3
Merge pull request #5695 from taosdata/test/testcase
[TD-3671]<test>change target branch
2021-04-06 17:05:21 +08:00