mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-22441 SCOPE_VALUE macro for temporary values
- Needless engaged_ removed; - SCOPE_VALUE, SCOPE_SET, SCOPE_CLEAR macros for neater declaration; - IF_CLASS / IF_NOT_CLASS SFINAE checkers to pass arg by value or reference; - inline keyword; - couple of refactorings of temporary free_list.
This commit is contained in:
@ -6438,7 +6438,7 @@ bool store_schema_params(THD *thd, TABLE *table, TABLE *proc_table,
|
||||
{
|
||||
Field *field;
|
||||
LEX_CSTRING tmp_string;
|
||||
auto _= make_scope_value(thd->variables.sql_mode, sql_mode);
|
||||
SCOPE_VALUE(thd->variables.sql_mode, sql_mode);
|
||||
|
||||
if (sph->type() == SP_TYPE_FUNCTION)
|
||||
{
|
||||
|
Reference in New Issue
Block a user