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

feat(StoneDB 8.0): refactor ConditionNumberFromMultipleEquality function. (#583) #585

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

lujiashun
Copy link

[summary]
1 improve the function's readability;
2 remove "stonedb8" comments;

Summary about this PR

Issue Number: close #583

[summary]
function ConditionNumberFromMultipleEquality in the file storage/tianmu/core/query.cpp
the reason for the 8.0 adaptor for this function is :Item_equal_iterator is deleted from mysql8.0.
Reference:mysql/mysql-server@908666c

  List_STL_Iterator<Item_field> ifield;
  List_STL_Iterator<Item_field> li;
  li = conds->get_fields().begin();

the logic is correct, but code can be cleaner.

1 improve the function's readability;
2 remove "stonedb8" comments;

Tests Check List

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

Changelog

  • New Feature
  • Bug Fix
  • Improvement
  • 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

@mergify
Copy link
Contributor

mergify bot commented Sep 27, 2022

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-feature feature for pull request label Sep 27, 2022
@lujiashun lujiashun changed the base branch from stonedb-5.7-dev to stonedb-8.0-dev September 27, 2022 08:33
@lujiashun lujiashun self-assigned this Sep 27, 2022
@lujiashun lujiashun added this to the stonedb_8.0_v1.0.0 milestone Sep 27, 2022
…ion. (stoneatom#583)

[summary]
1 improve the function's readability;
2 remove "stonedb8" comments;
Copy link
Contributor

@RingsC RingsC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@DandreChen DandreChen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit e2721a8 into stoneatom:stonedb-8.0-dev Sep 27, 2022
@lujiashun lujiashun deleted the feat-583 branch September 29, 2022 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-feature feature for pull request
Projects
Development

Successfully merging this pull request may close these issues.

feature(StoneDB 8.0): refactor ConditionNumberFromMultipleEquality function
3 participants