[MDEV-22441] implement a generic way to change a value of a variable in a scope Created: 2020-05-03 Updated: 2022-12-28 |
|
| Status: | In Review |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | 10.11 |
| Type: | Task | Priority: | Minor |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | refactoring | ||
| Issue Links: |
|
||||||||
| Description |
|
Some class should store an old value and change it's value to a new/tmp value in ctor, and restore an old value in dtor. |
| Comments |
| Comment by Eugene Kosov (Inactive) [ 2021-12-03 ] |
|
https://github.com/MariaDB/server/commits/bb-10.7-MDEV-22441-scoped-variable |
| Comment by Eugene Kosov (Inactive) [ 2022-01-16 ] |
|
Rebased onto 10.8 https://github.com/MariaDB/server/commits/bb-10.8-MDEV-22441-scoped-variable |