1. 18 8月, 2021 1 次提交
    • sangshuduo's avatar
      Feature/sangshuduo/td 5136 taosdemo rework (#7432) · 5c400d72
      sangshuduo 提交于
      * [TD-5136]<feature>: taosdemo simulate real senario.
      
      * update test case according to taosdemo change
      
      * adjust range of semi-random data.
      
      * make demo mode use different tag name and value.
      
      * change malloc to calloc for pid allocation.
      
      * fix typo.
      
      * fix binary length default value and group id logic.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      5c400d72
  2. 15 8月, 2021 2 次提交
    • sangshuduo's avatar
      Feature/sangshuduo/td 5844 cmdline parameters align (#7239) · 02f6f5e4
      sangshuduo 提交于
      * [TD-5844]<feature>: make cmd line parameter similar.
      
      * fix test case align with taosdemo change.
      
      * fix windows stack overflow issue.
      
      * fix mac compile error.
      
      * fix taosdemo cmdline parameter in tests/pytest/tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanoInsert.py
      
      * fix windows compiler options.
      
      * make taos.exe use mysql style password input.
      
      * make taos shell and taosdump use mysql style password input.
      
      * determine scanf return value.
      02f6f5e4
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#7374) · 0b6a2ffd
      sangshuduo 提交于
      * [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.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      
      * fix coverity scan memory leak.
      
      * fix resource leak reported by coverity scan.
      
      * fix taosdemo coverity scan issue.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      0b6a2ffd
  3. 14 8月, 2021 1 次提交
  4. 13 8月, 2021 2 次提交
  5. 12 8月, 2021 1 次提交
  6. 11 8月, 2021 2 次提交
  7. 07 8月, 2021 4 次提交
  8. 06 8月, 2021 3 次提交
  9. 05 8月, 2021 4 次提交
  10. 04 8月, 2021 1 次提交
  11. 03 8月, 2021 2 次提交
  12. 01 8月, 2021 4 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#7099) · ede06b75
      sangshuduo 提交于
      * [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.
      
      * exit if read sample file failed.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      
      * fix coverity scan memory leak.
      
      * fix resource leak reported by coverity scan.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      ede06b75
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#7098) · dd5a627b
      sangshuduo 提交于
      * [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.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      
      * fix coverity scan memory leak.
      
      * fix resource leak reported by coverity scan.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      dd5a627b
    • sangshuduo's avatar
      [TD-5625]<fix>: taosdemo don't use printf for data generation. (#7094) · 310ef268
      sangshuduo 提交于
      * [TD-5625]<fix>: taosdemo don't use printf for data generation.
      
      * re cherry-pick
      310ef268
    • sangshuduo's avatar
  13. 30 7月, 2021 1 次提交
  14. 28 7月, 2021 2 次提交
  15. 27 7月, 2021 4 次提交
    • sangshuduo's avatar
      add prompt msg if WAL size exceeds limit. (#7033) · 2d6e3051
      sangshuduo 提交于
      2d6e3051
    • sangshuduo's avatar
      add prompt msg if WAL size exceeds limit. (#7032) · 606119e3
      sangshuduo 提交于
      606119e3
    • sangshuduo's avatar
      Feature/sangshuduo/td 4068 taosdemo stmt for master (#7020) · 10956b4a
      sangshuduo 提交于
      * [TD-4068]<feature>: taosdemo support stmt.
      
      for easy merge purpose. disabled in master.
      
      * fix clang compile error.
      
      * fix memory leak, add more macros. change sqlcount to int
      
      * fix rest segfault.
      
      * add stmt_errstr() for reason print.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      10956b4a
    • sangshuduo's avatar
      Feature/sangshuduo/td 4068 taosdemo stmt (#7019) · ac1e1678
      sangshuduo 提交于
      * merge with develop branch.
      
      change query/tests/CMakeLists.txt to allow unused function and variable.
      
      * refactor data generating.
      
      * refactor.
      
      * refactor.
      
      * refactor.
      
      * refactor.
      
      * refactor
      
      * add prepare stmt function.
      
      * refactor get rand timestamp.
      
      * fix windows compile error.
      
      * copy logic of generate data for stmt.
      
      * insert data basically works now.
      
      * fix windows compile issue.
      
      * [TD-4068]<feature>: taosdemo stmt interface.
      
      stb batch insert works.
      
      * [TD-4068]<feature>: taosdemo support stmt.
      
      normal table insert works.
      
      * [TD-4068]<feature>: taosdemo support stmt.
      
      interlace write works.
      
      * add compile macro to make taosdemo same with master branch.
      
      * fix clang compile error.
      
      * fix memory leak.
      
      * add more macro.
      
      * fix rest segfault.
      
      * add stmt_errstr() for reason print.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      ac1e1678
  16. 26 7月, 2021 2 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#7012) · f043e3a6
      sangshuduo 提交于
      * [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.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      
      * fix coverity scan memory leak.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      f043e3a6
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#7013) · 2d20b425
      sangshuduo 提交于
      * [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.
      
      * exit if read sample file failed.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      
      * fix coverity scan memory leak.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      2d20b425
  17. 24 7月, 2021 2 次提交
  18. 23 7月, 2021 2 次提交