1. 13 9月, 2023 1 次提交
    • 羽飞's avatar
      Create codeql.yml (#265) · 6a239a3b
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Problem:
      add code quality scan.
      6a239a3b
  2. 16 8月, 2023 1 次提交
    • 羽飞's avatar
      Expression 四则运算 (#233) · 3cd3c2f9
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Problem: close #229 
      当前的词法分析语法分析非常简单,那当遇到比较复杂的词法分析语法分析题目,比如表达式,有些同学就难以入手
      
      ### What is changed and how it works?
      增加一个支持四则运算的功能,关键字是calc,虽然与标准的SQL不同,但是可以作为学习表达式入门使用。
      使用示例:
      ```
      (base) build_debug $ ./bin/observer -f ../etc/observer.ini -P cli
      Successfully load ../etc/observer.ini
      miniob > calc 2*(2*(2+3));
      2*(2*(2+3))
      20
      
      miniob > calc (1+2) * (2 * (20+ -(5*1)))
      (1+2) * (2 * (20+ -(5*1)))
      90
      
      miniob > calc 1, 2, 3;
      1 | 2 | 3
      1 | 2 | 3
      
      miniob > calc 1 + 2 - 3+4;
      1 + 2 - 3+4
      4
      
      miniob > calc 2* 4;
      2* 4
      8
      
      miniob > calc 1, 2, 3;
      1 | 2 | 3
      1 | 2 | 3
      
      miniob > calc 1 + 2 - 3+4;
      1 + 2 - 3+4
      4
      
      miniob > calc 2* 4;
      2* 4
      8
      ```
      3cd3c2f9
  3. 11 7月, 2023 1 次提交
    • 羽飞's avatar
      Sysbench (#206) · 8ac5c42c
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #178 
      
      Problem:
      sysbench is a powerful concurrency test tool and we should use it to
      test our program.
      
      ### What is changed and how it works?
      I create two sysbench lua scripts and a github workflow.
      
      ### Other information
      8ac5c42c
  4. 26 6月, 2023 1 次提交
    • 羽飞's avatar
      observer可以直接在控制台输入命令 (#199) · 380fea38
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #162 
      
      Problem:
      当前的observer启动流程和调试方法比较繁琐,必须使用客户端服务端的方式,先启动服务端程序,再使用客户端启动调试
      
      ### What is changed and how it works?
      observer可以直接启动,不监听tcp或unix socket,直接通过终端/控制台输入命令并执行,极大的方便了调试
      
      ### Other information
      新的启动方法:
      ./bin/observer -P cli -f ../etc/observer.ini
      380fea38
  5. 15 6月, 2023 1 次提交
    • 羽飞's avatar
      Document (#197) · fe061d05
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Problem:
      当前生成的github pages不太整洁方便,可以优化一下
      
      ### What is changed and how it works?
      改用mdbook生成文档,并整理文档目录,调整链接
      fe061d05
  6. 30 5月, 2023 1 次提交
    • 羽飞's avatar
      doxygen 文档 (#189) · 6d9a299a
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #188 
      
      Problem:
      利用doxygen将代码注释生成文档
      
      ### What is changed and how it works?
      修改github action,增加doxygen生成文档,并gihtub pages部署发布
      
      ### Other information
      6d9a299a
  7. 29 5月, 2023 1 次提交
    • 羽飞's avatar
      Docxygen (#187) · e772a91f
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      使用doxygen生成代码文档
      
      Problem:
      doxygen可以很方便的把代码注释转换成文档,但是当前没有利用这个功能
      
      ### What is changed and how it works?
      增加了doxyfile,并在github action的workflow中增加了这个功能
      
      ### Other information
      e772a91f
  8. 23 5月, 2023 1 次提交
  9. 15 5月, 2023 2 次提交
    • 羽飞's avatar
      Python test (#179) · 99eece10
      羽飞 提交于
      ### What problem were solved in this pull request?
      
      Issue Number: close #169 
      
      Problem:
      python测试脚本启动过于复杂;
      没有利用python的case测试功能
      
      ### What is changed and how it works?
      删减掉大部分python测试脚本的参数;
      把basic测试用例增加到github action中
      
      ### Other information
      99eece10
    • 羽飞's avatar
      fix unittest (#9) (#177) · 5017ced9
      羽飞 提交于
      fix unittest;
      add unittest to github action
      
      ### What problem were solved in this pull request?
      
      Issue Number: close #176 close #163 
      
      Problem:
      单元测试执行失败;
      github action 没有单元测试检查
      5017ced9
  10. 05 5月, 2023 1 次提交
  11. 29 3月, 2023 1 次提交
    • 羽飞's avatar
      thread-safe buffer pool and btree supported (#145) · 31fa2558
      羽飞 提交于
      Fix problem:
      1. the buffer pool and b tree is not thread safe;
      2. github/workflow/build does not work
      
      ### What is changed and how it works?
      1. thread-safe buffer pool
      - I use a mutex in buffer pool and take a lock in buffer pool operations
      such as allocate frame, dispose frame;
      - The frame is locked while updating/reading the content of frame;
      - Frame manager take a lock when allocate/free pages.
      
      2. thread-safe b+tree
      - Crabing protocol is used to support concurrent
      
      3. github/workflow/build
      - update the submodules;
      - create a build script and run build.sh in build.yaml
      31fa2558
  12. 10 1月, 2023 2 次提交
  13. 20 10月, 2022 12 次提交