← Back to team overview

maria-developers team mailing list archive

Re: Proposal to split @@optimizer_switch


Hi, Sergey!

On Jun 27, Sergey Petrunya wrote:
> On Fri, Jun 10, 2011 at 12:13:12PM +0400, Sergey Petrunya wrote:
> Sergei sees the goal as "introducing a consistent hierarchical naming system 
> for variables". That is, 
> - every implicit variable group, like aria_  or myisam_ should be switched to
>   the dotted notation right away.
> - Old variable names should be supported, too.
> In order to meet the second, we could
> C. Allow SET to set both old and new names, and use some setting to control
> whether SHOW VARIABLES will display old, new, or both kinds of variables.
> The question is, what should be the default setting.

I like this variant. The default may be underscores, otherwise
GUI tools could become very confused.

> Sergei thinks that "optimizer switch can survive in its current form for a
> while", to which SergeyP strongly disagrees.

I meant "for a while" = "till 5.5", that is, the change
shouldn't be done in 5.3.