Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

config: support setting session variable (#687) #690

Closed
wants to merge 6 commits into from

Conversation

sre-bot
Copy link

@sre-bot sre-bot commented May 29, 2020

cherry-pick #687 to release-1.0


What problem does this PR solve?

Support setting session variables #677

What is changed and how it works?

add SessionConfig in TargetDB, set session variables in db.Apply.

Tests

  • Unit test
  • Integration test

Code changes

  • Has exported function/method change
  • Has exported variable/fields change

@sre-bot sre-bot added needs-update-docs Should update docs after this PR is merged. Remove this label once the docs are updated priority/normal Minor change, requires approval from ≥1 primary reviewer type/cherry-pick This PR is just a cherry-pick (backport) type/feature New feature labels May 29, 2020
@WangXiangUSTC
Copy link
Contributor

LGTM

@WangXiangUSTC WangXiangUSTC added the status/LGT1 One reviewer already commented LGTM label May 29, 2020
@csuzhangxc
Copy link
Member

@GMHDBJD it seems you need to cherry-pick manually to fix the tests. 😂

@GMHDBJD GMHDBJD closed this May 29, 2020
@csuzhangxc csuzhangxc removed the needs-update-docs Should update docs after this PR is merged. Remove this label once the docs are updated label Jun 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/normal Minor change, requires approval from ≥1 primary reviewer status/LGT1 One reviewer already commented LGTM type/cherry-pick This PR is just a cherry-pick (backport) type/feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants