← Back to team overview

maria-developers team mailing list archive

Re: User-defined variables set that call UDFs (64)

 

Hi, Patrick!

On Nov 15, worklog-noreply@xxxxxxxxxxxx wrote:
> -----------------------------------------------------------------------
>                               WORKLOG TASK
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> TASK...........: User-defined variables set that call UDFs
> 
> DESCRIPTION:
> 
> I was talking to Monty about how with the memcached Functions for
> MySQL, I call:
> 
> mysql> do memc_servers_set('127.0.0.1:11211');
> 
> Instead, he suggests that it would be preferable to do:
> 
> set @@memc_servers = '127.0.0.1:11211'; 
> 
> But this would require a change to how variables are handled, and
> suggested I create this worklog item. 

This wouldn't require a change to how variables are handled, what it
*would* require is WL#2974 (turning UDF into plugins).

All plugins natively can add new server variables and execute any
arbitrary code when they're assigned to.
 
Regards / Mit vielen GrЭъen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@xxxxxxx>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Engineer/Server Architect
/_/  /_/\_, /___/\___\_\___/  Sun Microsystems GmbH, HRB MЭnchen 161028
       <___/                  Sonnenallee 1, 85551 Kirchheim-Heimstetten
GeschДftsfЭhrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin HДring



References