1. 08 4月, 2021 2 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3607 taosdemo buffer overflow (#5723) · af90320a
      sangshuduo 提交于
      * [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: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo Sang <sdsang@taosdata.com>
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      Co-authored-by: Nhuili <52318143+plum-lihui@users.noreply.github.com>
      Co-authored-by: Nliuyq-617 <yqliu@taosdata.com>
      Co-authored-by: Nplum-lihui <huili@taosdata.com>
      Co-authored-by: NElias Soong <elias.soong@gmail.com>
      Co-authored-by: NShengliang Guan <slguan@taosdata.com>
      af90320a
    • sangshuduo's avatar
  2. 07 4月, 2021 3 次提交
    • D
      fix crash issue · 0eac169f
      dapan1121 提交于
      0eac169f
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3607 for master (#5712) · 568a3ebc
      sangshuduo 提交于
      * 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: NShuduo 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: Nhuili <52318143+plum-lihui@users.noreply.github.com>
      Co-authored-by: Nliuyq-617 <yqliu@taosdata.com>
      Co-authored-by: Nplum-lihui <huili@taosdata.com>
      Co-authored-by: NElias Soong <elias.soong@gmail.com>
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      568a3ebc
    • sangshuduo's avatar
      [TD-3607]<fix>: fix taosdemo limit and offset. (#5707) · b0d979ff
      sangshuduo 提交于
      if offset+limit > count.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      b0d979ff
  3. 06 4月, 2021 1 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5691) · d38e4a1b
      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.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      d38e4a1b
  4. 05 4月, 2021 1 次提交
  5. 04 4月, 2021 2 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5677) · a13873e1
      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.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      a13873e1
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3653 taosdemo json param cleanup (#5676) · 3f273cbf
      sangshuduo 提交于
      * [TD-3653] <fix>: taosdemo json parameter cleanup.
      
      * [TD-36553] <fix>: taosdemo parse configDir in cmdline test.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      3f273cbf
  6. 03 4月, 2021 3 次提交
  7. 02 4月, 2021 3 次提交
  8. 01 4月, 2021 2 次提交
  9. 31 3月, 2021 2 次提交
  10. 30 3月, 2021 4 次提交
  11. 29 3月, 2021 3 次提交
  12. 28 3月, 2021 1 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5602) · 41741a59
      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.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      41741a59
  13. 27 3月, 2021 3 次提交
    • sangshuduo's avatar
    • sangshuduo's avatar
    • sangshuduo's avatar
      Feature/sangshuduo/td 3317 taosdemo interlace (#5596) · 2c4bcbe3
      sangshuduo 提交于
      * [TD-3316] <fix>: add testcase for taosdemo limit and offset.
      
      check offset 0.
      
      * [TD-3316] <fix>: add testcase for taosdemo limit and offset.
      
      fix sample file import bug.
      
      * [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.
      
      * [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.
      
      * [TD-3317] <feature>: make taosdemo support interlace mode.
      
      json parameter rows_per_tbl support.
      
      * [TD-3317] <feature>: support interlace mode.
      
      refactor
      
      * [TD-3317] <feature>: support interlace mode.
      
      refactor
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      refactor.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change json file.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      fix multithread create table regression.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      working but not perfect.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      rename lowaTest with taosdemoTestWithJson
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      perfect
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      cleanup.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      adjust algorithm of loop times.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      fix delay time bug.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      fix progressive timestamp bug.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      add an option for performance print.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change json test case with less table for acceleration.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change progressive mode timestamp step and testcase.
      
      * [TD-3197] <fix>: fix taosdemo coverity scan issues.
      
      * [TD-3197] <fix>: fix taosdemo coverity scan issue.
      
      fix subscribeTest pids uninitialized.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      add time shift for no sleep time.
      
      * [TD-3317] <feature>: support interlace insert.
      
      rework timestamp.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change rows_per_tbl to interlace_rows.
      
      * [TD-3317] <feature>: taosdemo suppoert interlace mode.
      
      remove trailing spaces.
      
      * [TD-3317] <feature>: taosdemo support interlace insertion.
      
      prompt if interlace > num_of_records_per_req
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      2c4bcbe3
  14. 26 3月, 2021 5 次提交
    • sangshuduo's avatar
      Feature/sangshuduo/td 3317 taosdemo interlace (#5593) · 4acaa5df
      sangshuduo 提交于
      * [TD-3316] <fix>: add testcase for taosdemo limit and offset.
      
      check offset 0.
      
      * [TD-3316] <fix>: add testcase for taosdemo limit and offset.
      
      fix sample file import bug.
      
      * [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.
      
      * [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.
      
      * [TD-3317] <feature>: make taosdemo support interlace mode.
      
      json parameter rows_per_tbl support.
      
      * [TD-3317] <feature>: support interlace mode.
      
      refactor
      
      * [TD-3317] <feature>: support interlace mode.
      
      refactor
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      refactor.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change json file.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      fix multithread create table regression.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      working but not perfect.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      rename lowaTest with taosdemoTestWithJson
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      perfect
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      cleanup.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      adjust algorithm of loop times.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      fix delay time bug.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      fix progressive timestamp bug.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      add an option for performance print.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change json test case with less table for acceleration.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change progressive mode timestamp step and testcase.
      
      * [TD-3197] <fix>: fix taosdemo coverity scan issues.
      
      * [TD-3197] <fix>: fix taosdemo coverity scan issue.
      
      fix subscribeTest pids uninitialized.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      add time shift for no sleep time.
      
      * [TD-3317] <feature>: support interlace insert.
      
      rework timestamp.
      
      * [TD-3317] <feature>: support interlace mode insertion.
      
      change rows_per_tbl to interlace_rows.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      4acaa5df
    • sangshuduo's avatar
      c89ada70
    • sangshuduo's avatar
      Feature/sangshuduo/td 3402 taosdemo version (#5582) · 211d323a
      sangshuduo 提交于
      * [TD-3402] <feature>: taosdemo version.
      
      feature completed.
      
      * [TD-3402] <feature>: taosdemo support version.
      
      fix path issue for TDinternal.
      
      * [TD-3402] <feature>: taosdemo support version.
      
      fix VERNUMBER for TDinternal.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      211d323a
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3400 max query sql count 100 (#5564) · e9e5acd6
      sangshuduo 提交于
      * [TD-3400] <fix>: increase MAX_QUERY_SQL_COUNT to 100.
      
      * [TD-3400] <fix>: increase MAX_QUERY_SQL_COUNT to 100.
      
      use query times too instead of infinite loop.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      e9e5acd6
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3321 better stb describe2 (#5578) · 162e84dc
      sangshuduo 提交于
      * [TD-3321] <fix>: describe stb with better logic.
      
      * [TD-3321] <fix>: describe stb with better logic.
      
      * [TD-3321] <fix>: describe stb with better logic.
      
      describe stb to check if exists.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      162e84dc
  15. 25 3月, 2021 5 次提交