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
-
midenok Ok, but I did not see any explanation for this in either this issue or in the commit comments, nor do I see serg's review anywhere. Refactoring in general is very much not appropriate for GA releases, so when there is a particular reason to do it anyway it is important that this reason is explained somewhere.