[Maria-developers] New (by CaptTofu): User-defined variables set that call UDFs (64)
----------------------------------------------------------------------- WORKLOG TASK -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- TASK...........: User-defined variables set that call UDFs CREATION DATE..: Sun, 15 Nov 2009, 19:22 SUPERVISOR.....: Monty IMPLEMENTOR....: COPIES TO......: Monty CATEGORY.......: Server-RawIdeaBin TASK ID........: 64 (http://askmonty.org/worklog/?tid=64) VERSION........: WorkLog-3.4 STATUS.........: Un-Assigned PRIORITY.......: 60 WORKED HOURS...: 0 ESTIMATE.......: 0 (hours remain) ORIG. ESTIMATE.: 0 PROGRESS NOTES: 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. ESTIMATED WORK TIME ESTIMATED COMPLETION DATE ----------------------------------------------------------------------- WorkLog (v3.5.9)
Hi, Patrick! On Nov 15, worklog-noreply@askmonty.org 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@sun.com> / /|_/ / // /\ \/ /_/ / /__ 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
participants (2)
-
Sergei Golubchik
-
worklog-noreply@askmonty.org