1. 30 3月, 2022 1 次提交
  2. 28 3月, 2022 2 次提交
  3. 14 3月, 2022 1 次提交
  4. 12 3月, 2022 1 次提交
  5. 08 3月, 2022 1 次提交
  6. 22 2月, 2022 1 次提交
  7. 21 2月, 2022 1 次提交
  8. 15 2月, 2022 1 次提交
  9. 06 2月, 2022 1 次提交
  10. 20 1月, 2022 1 次提交
  11. 14 1月, 2022 1 次提交
  12. 09 1月, 2022 1 次提交
  13. 28 12月, 2021 1 次提交
  14. 25 12月, 2021 1 次提交
  15. 24 12月, 2021 1 次提交
  16. 21 12月, 2021 1 次提交
  17. 20 12月, 2021 2 次提交
  18. 17 12月, 2021 1 次提交
  19. 16 12月, 2021 1 次提交
  20. 03 12月, 2021 1 次提交
  21. 30 11月, 2021 1 次提交
  22. 25 11月, 2021 1 次提交
    • Y
      Hash table cleanup [7/n] · 8ed7d45a
      Yifan Hao 提交于
      1. Add missing lock / unlock in profiling code. Without
         synchronization, the profiling code could access freed memory.
      2. Remove unnecessary assert.
      3. Remove unncessary if check in taosHashRemoveWithData.
      
      * Testing
      sample mysql:
      taos> create database db;
      Query OK, 0 of 0 row(s) in database (0.002291s)
      
      taos> use db;
      Query OK, 0 of 0 row(s) in database (0.000197s)
      
      taos> create table t (ts timestamp, a int);
      Query OK, 0 of 0 row(s) in database (0.003851s)
      
      taos> insert into t values ('2019-07-15 00:00:00', 1);
      Query OK, 1 of 1 row(s) in database (0.001128s)
      
      taos> insert into t values ('2019-07-15 01:00:00', 2);
      Query OK, 1 of 1 row(s) in database (0.000249s)
      
      taos> select * from t;
                 ts            |      a      |
      ========================================
       2019-07-15 00:00:00.000 |           1 |
       2019-07-15 01:00:00.000 |           2 |
      Query OK, 2 row(s) in set (0.000772s)
      
      taos> drop database db;
      Query OK, 0 of 0 row(s) in database (0.002308s)
      8ed7d45a
  23. 24 11月, 2021 1 次提交
    • Y
      Hash table cleanup [5/n] · 6a71b8ea
      Yifan Hao 提交于
      1. Simplify implementation of taosHashCondTraverse
      2. Complete function header comments for a few more functions
      
      * Testing
      
      Run through the sample mysql:
      taos> create database db;
      Query OK, 0 of 0 row(s) in database (0.002475s)
      
      taos> use db;
      Query OK, 0 of 0 row(s) in database (0.000252s)
      
      taos> create table t (ts timestamp, a int);
      Query OK, 0 of 0 row(s) in database (0.003588s)
      
      taos> insert into t values ('2019-07-15 00:00:00', 1);
      Query OK, 1 of 1 row(s) in database (0.001268s)
      
      taos> insert into t values ('2019-07-15 01:00:00', 2);
      Query OK, 1 of 1 row(s) in database (0.000265s)
      
      taos> select * from t;
                 ts            |      a      |
      ========================================
       2019-07-15 00:00:00.000 |           1 |
       2019-07-15 01:00:00.000 |           2 |
      Query OK, 2 row(s) in set (0.000822s)
      
      taos> drop database db;
      Query OK, 0 of 0 row(s) in database (0.001711s)
      6a71b8ea
  24. 22 11月, 2021 2 次提交
    • Y
      Hash table cleanup [3/n] · 89afece7
      Yifan Hao 提交于
      A few cleanups:
      1. Move implementation details (macro definition, SHashEntry and SHashObj
         definition) to hash.c. Only leave relevant APIs in hash.h.
      2. Complete function header comments.
      3. Correct variable naming from "newSize" to "newCapacity".
      89afece7
    • Y
      Hash table cleanup [2/n] · 376e30ae
      Yifan Hao 提交于
      A few cleanups:
      1. Rename hash node "count" to "refCount" for ease of reading
      2. Trailing white space removal of hash.h
      376e30ae
  25. 03 11月, 2021 3 次提交
  26. 02 11月, 2021 1 次提交
  27. 01 11月, 2021 2 次提交
  28. 26 10月, 2021 1 次提交
  29. 19 10月, 2021 2 次提交
  30. 15 10月, 2021 1 次提交
  31. 13 10月, 2021 1 次提交
  32. 09 10月, 2021 1 次提交
  33. 05 10月, 2021 1 次提交