Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tianmu): fix up the problem of adding 2 to the user-defined variable each time and fix up a crash when executing multiple nested queries with user-defined variable (#1897)(#1913) #1935

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

Xinqiangxu
Copy link
Collaborator

@Xinqiangxu Xinqiangxu commented Jul 10, 2023

Summary about this PR

Issue Number: close #1897 #1913 #1910

Tests Check List

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Changelog

  • New Feature
  • Bug Fix
  • Performance Improvement
  • Build/Testing/CI/CD
  • Documentation
  • Not for changelog (changelog entry is not required)

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features

…ble each time

             and fix up a crash when executing multiple nested queries with user-defined variable (stoneatom#1897)(stoneatom#1913)

cause: multiple executions due to logical structure flaws
solution: add necessary condition judgment statements

PR Close stoneatom#1897 stoneatom#1913
@mergify
Copy link
Contributor

mergify bot commented Jul 10, 2023

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@mergify mergify bot added the PR-bug bug for pull request label Jul 10, 2023
@Xinqiangxu
Copy link
Collaborator Author

100% new code coverage

@Xinqiangxu
Copy link
Collaborator Author

Xinqiangxu commented Jul 10, 2023

issue1662 has wrong result. I have corrected the result under new code, which is same as innodb engine

@Xinqiangxu
Copy link
Collaborator Author

image

@RingsC RingsC merged commit 2bb2d48 into stoneatom:stonedb-5.7-dev Jul 13, 2023
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-bug bug for pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: The subquery inner join the define variables will return wrong result.
3 participants