Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
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.
Attachments
Issue Links
- relates to
-
MDEV-22438 add a function similar to std::make_scope_exit()
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Component/s | Server [ 13907 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Labels | refactoring |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Eugene Kosov [ kevg ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Eugene Kosov [ kevg ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Summary | implement a generic way to change a value of a variable in scope | implement a generic way to change a value of a variable in a scope |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Assignee | Eugene Kosov [ kevg ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.7 [ 24805 ] |
Workflow | MariaDB v3 [ 108167 ] | MariaDB v4 [ 131776 ] |
Assignee | Sergei Golubchik [ serg ] | Eugene Kosov [ kevg ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Eugene Kosov [ kevg ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Fix Version/s | 10.10 [ 27530 ] | |
Fix Version/s | 10.8 [ 26121 ] |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 10.10 [ 27530 ] |
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. |
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.
PLEASE DO NOT PUSH! This goes against the codeing standard in MariaDB! - Do not use C++ construct that hides what is happening! - Makes code harder to read and understand for C programmers! Do not use 'auto' in MariaDB! This is a bad programming structure that makes the code harder to read and understand |
Priority | Major [ 3 ] | Minor [ 4 ] |
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.
PLEASE DO NOT PUSH! This goes against the codeing standard in MariaDB! - Do not use C++ construct that hides what is happening! - Makes code harder to read and understand for C programmers! Do not use 'auto' in MariaDB! This is a bad programming structure that makes the code harder to read and understand |
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. |
Assignee | Sergei Golubchik [ serg ] | Aleksey Midenkov [ midenok ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Assignee | Aleksey Midenkov [ midenok ] | Nikita Malyavin [ nikitamalyavin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Aleksey Midenkov [ midenok ] |
Fix Version/s | 10.5.28 [ 29952 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
https://github.com/MariaDB/server/commits/bb-10.7-MDEV-22441-scoped-variable