Commit Graph

14455 Commits

Author SHA1 Message Date
Minglei Jin 17ddb4587d [TD-4056]<fix>: fix possible char string buffer length overflow 2021-05-06 14:36:40 +08:00
yihaoDeng 014ac91443 [TD-3747] 2021-05-06 13:30:23 +08:00
yihaoDeng f1098e1cc3 [TD-3747] 2021-05-06 13:20:53 +08:00
liuyq-617 fa902a35b3 [TD-4059]update case version.py 2021-05-06 11:44:39 +08:00
yihaoDeng c4c7402fe9 Merge branch 'master' of https://github.com/taosdata/TDengine 2021-05-06 10:57:21 +08:00
Shuduo Sang 1466505e4b
[TD-3197]<fix>: taosdemo and taosdump coverity scan issues. (#6004)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-05 17:32:46 +08:00
zyyang 4c6f4a140b change release version 2021-05-03 08:27:36 +08:00
liuyq-617 8e146460b0 update 2021-05-02 22:20:21 +08:00
liuyq-617 d0aa7146d2 update 2021-05-02 22:20:21 +08:00
liuyq-617 8ca809d376 update 2021-05-02 22:20:21 +08:00
liuyq-617 22f6ff2824 update 2021-05-02 22:20:21 +08:00
liuyq-617 142d89f3fc modify drone CI on arm32 platform 2021-05-02 22:20:21 +08:00
Shuduo Sang 29b0751a34
[TD-4035]<fix>: taosdemo more checking for prevent value out of scope. (#5992)
* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

change min rows and max rows to unsigned int and 0 means default.

* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

change offset=0 to get all childtable count

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-01 22:21:23 +08:00
Shuduo Sang 29e9ff8ba2
[TD-4054]<fix>: taosdump wrong column note length. (#5996)
* [TD-4054]<fix>: taosdump wrong column note length.

* [TD-4054]<fix>: taosdump wrong column note length.

reserve 2 bytes for NCHAR.
2021-05-01 19:50:53 +08:00
haojun Liao 714a4d5931
Merge pull request #5987 from taosdata/test/TD-4000
[TD-4000] <test> verify teature of TD-3948
2021-05-01 15:44:54 +08:00
haojun Liao 7598f27c4a
Merge pull request #5979 from taosdata/origin/TD-3614
Origin/td 3614
2021-05-01 15:44:11 +08:00
Shuduo Sang b12668ff7f
[TD-3639] <fix>: compare timestamp with datetime in python (#5990)
By this commit, It will close TD-3639.

It will not require test case to write *correct* datetime string to pass
a test case. One test could use seconds, milliseconds or microseconds to
check data.

That means the three tests are equivalent:

```python
.checkData(0, 0, "2020-01-01 00:00:00")
.checkData(0, 0, "2020-01-01 00:00:00.000")
.checkData(0, 0, "2020-01-01 00:00:00.000000")
```

Co-authored-by: Huo Linhe <linhehuo@gmail.com>
2021-04-30 22:45:59 +08:00
zyyang a7e41f2c86
Hotfix/td 3986 (#5982)
* change

* [TD-3986]<test>: modify the subscribe test cases
2021-04-30 18:05:29 +08:00
Shuduo Sang 5d493f11b3
Hotfix/sangshuduo/td 3851 taosdemo performance boost (#5968)
* [TD-3851]<fix>: taosdemo performance boost.

* change few default values.

* [TD-3851]<fix>: taosdemo performance boost.

change max sql len default value to 1024*1024

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 17:32:57 +08:00
Haojun Liao b0ab4573bb [td-3967]update the sim. 2021-04-30 17:14:57 +08:00
Haojun Liao d78ac9848c [td-3967]1) refactor. 2021-04-30 17:12:20 +08:00
Shuduo Sang 2f069d9068
Hotfix/sangshuduo/td 3968 taosdemo datalen 16k (#5971)
* [TD-3968]<fix>: taosdemo data length should be 16*1024

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

fix data buffer issue.

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

commend out unused func for debugging purpose in the future

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

comment off unused function

* [TD-3968]<fix>: taosdemo datalen more than 16k.

comment off unused array.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 16:42:29 +08:00
wu champion 4a6a4f9e71 [TD-4000] <test> verify teature of TD-3948 2021-04-30 16:23:43 +08:00
Yiqing Liu 460768f067
[TD-4032]Eliminate false alarms (#5978)
* [TD-4032]Eliminate false alarms

* update rules
2021-04-30 14:20:12 +08:00
yihaoDeng 52b739abe0 [TD-3747]enhance performance on win 2021-04-30 14:09:34 +08:00
yihaoDeng a2bdc746c1 Merge branch 't37' 2021-04-30 14:04:03 +08:00
yihaoDeng 364fb1df6d Merge branch 'master' of https://github.com/taosdata/TDengine into ma 2021-04-30 13:47:09 +08:00
yihaoDeng 687d3b4c33 [TD-3614] avoid tcp send failure 2021-04-30 13:45:40 +08:00
zyyang 5eac06b287
merge taos-jdbcdriver-2.0.28 all changes to master branch (#5974)
* merge taos-jdbcdriver-2.0.28 all changes to master branch

* change version in cmake/install.inc
2021-04-30 11:41:24 +08:00
Haojun Liao bdc887741e [td-3967] 2021-04-30 10:47:42 +08:00
Haojun Liao c64fd41be7 [td-3967]refactor. 2021-04-30 10:46:13 +08:00
Shuduo Sang 160516665c
Hotfix/sangshuduo/td 4025 fix travis ci broken (#5973)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8 and pip, setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8, and install pip and setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 09:50:15 +08:00
Haojun Liao 2742159fde [td-3967]1). fix escape char error in sql. 2) refactor. 2021-04-29 23:16:33 +08:00
Shuduo Sang 2617bf2b1c
[TD-4001]<fix>: taosdemo restful segfault. (#5962)
* [TD-4001]<fix>: taosdemo restful segfault.

due to gethostbyname() is not thread-safe.

* fix uninitialized variable when invalid mode.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-29 14:24:11 +08:00
haojun Liao 8f07f0887f
Merge pull request #5953 from taosdata/hotfix/TD-3984
[TD-3984]union issues
2021-04-29 13:27:03 +08:00
haojun Liao 9c01cec7e0
Merge pull request #5955 from taosdata/hotfix/TD-3996
[TD-3996]udc query issue
2021-04-29 13:20:16 +08:00
Shuduo Sang 879bacd8e1
Hotfix/sangshuduo/td 3985 taosdemo timestamp step overflow (#5960)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

* replace potential overflow of int32 to int64

* replace potential int32 overflow variables to int64.

* replace potential int32 overflow variables to int64.

* change max of int16 to int64 after type changed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-29 11:42:44 +08:00
Steven Li 7e1b1b1f9b Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 23:11:28 +00:00
Steven Li 34eb7e255a Used Python generator to simplify crash_gen IPC processing of STDOUT/STDERR 2021-04-28 23:11:19 +00:00
huili 0a6b76e3e7
Merge pull request #5938 from taosdata/test/TD-2039
[TD-2039] <test> verify the bug of TD-2039
2021-04-28 16:43:31 +08:00
Steven Li fbadcfb542 Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 08:37:22 +00:00
Steven Li 5d1d5cadc2 Refactored crash_gen to have the TdeSubProcess own the SvcMgrThread object, also switched to Pylance 2021-04-28 08:36:56 +00:00
dapan1121 b13e65bd93 fix bug 2021-04-28 14:27:15 +08:00
tomchon 188127bd7f Merge branch 'master' into test/chr 2021-04-28 13:52:13 +08:00
huili bd898af30d
Merge pull request #5947 from taosdata/fix/jenkins
[TD-3988]add mac test on Appveyor
2021-04-28 13:14:52 +08:00
haojun Liao 1857ccc01f
Merge pull request #5941 from taosdata/hotfix/td-3948
TD-3948: specify insertion columns after supertable tags
2021-04-28 12:50:53 +08:00
shenglian zhou 5f2f20cf1a [TD-3948]<enhance>: insert syntax - specify columns after supertable tags 2021-04-28 11:16:36 +08:00
dapan1121 6e985b443c fix bug 2021-04-28 10:53:10 +08:00
Steven Li bcbb6017c0 Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 02:46:38 +00:00
Shuduo Sang b6e41d48e0
Hotfix/sangshuduo/td 3985 taosdemo timestamp step overflow (#5951)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

* replace potential overflow of int32 to int64

* replace potential int32 overflow variables to int64.

* replace potential int32 overflow variables to int64.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-28 10:44:10 +08:00