Skip to content

fix txn opt - #17981

Merged
mergify[bot] merged 4 commits into
matrixorigin:mainfrom
daviszhen:0809-fix-opt
Aug 9, 2024
Merged

mergify[bot] merged 4 commits into
matrixorigin:mainfrom
daviszhen:0809-fix-opt

Conversation

@daviszhen

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue ##17977

What this PR does / why we need it:

问题:一个请求中,有多个语句。当第一个语句为begin时,下一条语句会提交事务。
原因:begin语句时,设置的option,执行完后没有立即清理。导致下一条语句执行时,创建了新事务。
修改:option每次复位。

@daviszhen
daviszhen requested a review from qingxinhome as a code owner August 9, 2024 01:30
@mergify mergify Bot added the kind/bug Something isn't working label Aug 9, 2024
@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Aug 9, 2024
@daviszhen daviszhen changed the title add txn opt reset fix txn opt Aug 9, 2024
@mergify
mergify Bot merged commit de6eaa8 into matrixorigin:main Aug 9, 2024
fengttt pushed a commit to fengttt/matrixone that referenced this pull request May 7, 2026
问题:一个请求中,有多个语句。当第一个语句为begin时,下一条语句会提交事务。
原因:begin语句时,设置的option,执行完后没有立即清理。导致下一条语句执行时,创建了新事务。
修改:option每次复位。

Approved by: @qingxinhome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/S Denotes a PR that changes [10,99] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants