Skip to content

fix: wait for @wait flag condition before executing SQL in both run a…#197

Merged
aptend merged 4 commits intomatrixorigin:mainfrom
Ariznawlll:fix_wait_flag_execution
Feb 12, 2026
Merged

fix: wait for @wait flag condition before executing SQL in both run a…#197
aptend merged 4 commits intomatrixorigin:mainfrom
Ariznawlll:fix_wait_flag_execution

Conversation

@Ariznawlll
Copy link
Contributor

…nd genrs modes

  • In run() mode: wait for connection commit/rollback before executing SQL with @wait flag
  • In genRS() mode: wait for connection commit/rollback before executing SQL with @wait flag
  • This ensures commands with @wait flags execute at the correct time
  • Fixes issue where commands were marked as FAILED when executed before wait condition was met
  • Test case: transaction_enhance.sql now passes with 100% success rate (313/313)

Ariznawl@163.com added 4 commits February 10, 2026 19:02
…nd genrs modes

- In run() mode: wait for connection commit/rollback before executing SQL with @wait flag
- In genRS() mode: wait for connection commit/rollback before executing SQL with @wait flag
- This ensures commands with @wait flags execute at the correct time
- Fixes issue where commands were marked as FAILED when executed before wait condition was met
- Test case: transaction_enhance.sql now passes with 100% success rate (313/313)
@aptend aptend merged commit f820e00 into matrixorigin:main Feb 12, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants