1
0
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:
Sergey Petrunia
2009-03-14 21:58:23 +03:00
parent 5d55f7c543
commit 6551e173f9
7 changed files with 136 additions and 59 deletions

View File

@ -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
****************************************************************************/