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

[Multi-Database Support][pg] Where clause need escape, otherwise will request postgre use lowwer case #4780

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

shoothzj
Copy link
Member

@shoothzj shoothzj commented Mar 7, 2023

What's the purpose of this PR

Where clause need escape, otherwise will request postgre use lowwer case

Brief changelog

Add escape in where cause. Tested in postgre、mysql、unittests

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Read the Contributing Guide before making this pull request.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit tests to verify the code.
  • Run mvn clean test to make sure this pull request doesn't break anything.
  • Update the CHANGES log.

@codecov
Copy link

codecov bot commented Mar 7, 2023

Codecov Report

Merging #4780 (57e294d) into master (2f311ae) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master    #4780   +/-   ##
=========================================
  Coverage     47.26%   47.26%           
  Complexity     1657     1657           
=========================================
  Files           346      346           
  Lines         10683    10683           
  Branches       1063     1063           
=========================================
  Hits           5049     5049           
  Misses         5328     5328           
  Partials        306      306           
Impacted Files Coverage Δ
...m/ctrip/framework/apollo/biz/entity/AccessKey.java 58.33% <ø> (ø)
...a/com/ctrip/framework/apollo/biz/entity/Audit.java 52.94% <ø> (ø)
...com/ctrip/framework/apollo/biz/entity/Cluster.java 58.82% <ø> (ø)
.../com/ctrip/framework/apollo/biz/entity/Commit.java 5.55% <ø> (ø)
...p/framework/apollo/biz/entity/GrayReleaseRule.java 100.00% <ø> (ø)
...om/ctrip/framework/apollo/biz/entity/Instance.java 43.24% <ø> (ø)
...ip/framework/apollo/biz/entity/InstanceConfig.java 71.11% <ø> (ø)
...va/com/ctrip/framework/apollo/biz/entity/Item.java 86.36% <ø> (ø)
...m/ctrip/framework/apollo/biz/entity/Namespace.java 61.11% <ø> (ø)
...rip/framework/apollo/biz/entity/NamespaceLock.java 25.00% <ø> (ø)
... and 21 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

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

LGTM

@nobodyiam nobodyiam merged commit ce1c2f8 into apolloconfig:master Mar 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2023
@shoothzj shoothzj deleted the multi-database-pg-compat branch March 7, 2023 11:17
@nobodyiam nobodyiam added this to the 2.2.0 milestone Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants