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>
* [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>
* [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>
* [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>
* [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>
* 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>
* [TD-3962]<fix>: fix insert special character error in preparedStatement
* change
* change
* change
* change
* change
* change
* [TD-3962]<test>: add test cases for insert special character
* change
* change
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.
modify smoketest.sh to python3.8
* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.
* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.
* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.
change focal to bionic.
* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.
cherry pick from master.
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
* [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>
* [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>
* [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>
* [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>