Hi!

This is the memcached mysql UDFs (user defined functions) to work with libmemcached, Brian Aker's super duper
new fast client library for memcached.


Prerequisites

* MySQL 5.0 and greater
* Latest memcached (svn co http://code.sixapart.com/svn/memcached/trunk)
* curl and curl development libraries
* latest autoconf tools

To build:
./configure --with-mysql=/usr/local/mysql/bin/mysql_config --libdir=/usr/local/mysql/lib/mysql/
make
make install


To then load the functions that you need:

Please keep in mind that for your UDF to be loaded, it must be in the
library path for your server (and yes, we should fix this). On Linux you can
set this by exporting the correct path in LD_LIBRARY_PATH for your mysql
server.

You can install the functions as listed below by cutting and pasting,or 
optionally there now are two ways to install these easily:

* sql/install_functions.sql - this loads the functions with simple CREATE FUNCTION
commands as shown below

* utils/install.pl - This is a perl script that queries your mysql.func table to see what 
functions are already installed and installs them if not yet installed. It will ask you 
each time for every function not installed, if you want to install, or you can run it with 
-s/--silent to have it not prompt you. It runs as the 'root' database user (required).

http_get()

CREATE FUNCTION http_get RETURNS STRING SONAME "curl_functions_mysql.so";
