On 05-Aug-2001 SOHM Philippe wrote:
> Hi,
> I'd like to add a function MD5() to mysql with CREATE FUNCTION
> Someone can help me ? I know nothing in C
>
Creating a user defined function (UDF) means compiling a shared library;
most any language can be used if it supports C call/return conventions.
But why 'MD5()' ? 'tis already in MySQL :
mysql> select md5('this');
+----------------------------------+
| md5('this') |
+----------------------------------+
| 9e925e9341b490bfd3b4c4ca3b0c1ef2 |
+----------------------------------+
1 row in set (0.00 sec)
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php