mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
@@optimizer_switch backport and change from no_xxx to xx=on|off: post-review fixes
mysql-test/r/index_merge_myisam.result: More tests mysql-test/t/index_merge_myisam.test: More tests
This commit is contained in:
@ -4003,6 +4003,14 @@ err:
|
||||
}
|
||||
|
||||
|
||||
void sys_var_thd_optimizer_switch::set_default(THD *thd, enum_var_type type)
|
||||
{
|
||||
if (type == OPT_GLOBAL)
|
||||
global_system_variables.*offset= OPTIMIZER_SWITCH_DEFAULT;
|
||||
else
|
||||
thd->variables.*offset= global_system_variables.*offset;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Named list handling
|
||||
****************************************************************************/
|
||||
|
Reference in New Issue
Block a user