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