| List: | Internals | « Previous MessageNext Message » | |
| From: | Michael Widenius | Date: | April 2 2001 10:03am |
| Subject: | Re: Perl + Mysql | ||
| View as plain text | |||
Hi! >>>>> "Dana" == Dana Prescott Kennedy Powers > <dana@stripped> writes: Dana> Ive been thinking a bit about the cleanest way to integrate an embedded Dana> interpreter and mysqld. Dana> My plan right now is to a enable 'CREATE FUNCTION my_func Dana> RETURNS STRING PERL_NAME "my_perl_script.pl";'. The mysql.func table would be Dana> modified to add an additional column set in sql_yacc.yy, lang_type (other Dana> ideas?), which would indicate how the udf should be loaded - either using Dana> dlopen() ( currently the only option ), or by passing it off to an interpreter Dana> ( perl here ). Then we modify UDF_INIT to also include the function name and the Dana> dl path, so that the interpreter can load the appropriate file when necessary. Dana> This hopefully will leave almost all of the current udf code untouched, with the Dana> exception of the dlopen() and dlclose() calls - and shouldnt break existing udf Dana> functions. Dana> Thoughts? Dana> dpk Sounds like the right way to do this. Regards, Monty
| Thread | ||
|---|---|---|
| • Perl + Mysql | Dana Prescott Kennedy Powers | 30 Mar |
| • Re: Perl + Mysql | barries | 30 Mar |
| • Re: Perl + Mysql | barries | 30 Mar |
| • Perl + Mysql | Michael Widenius | 31 Mar |
| • Re: Perl + Mysql | Dana Prescott Kennedy Powers | 2 Apr |
| • Re: Perl + Mysql | Michael Widenius | 2 Apr |
| • Re: Perl + Mysql | Russell E Glaue | 9 Apr |
| • Re: Perl + Mysql | Dana Prescott Kennedy Powers | 10 Apr |
| • Re: Perl + Mysql | Cristian Giussani | 10 Apr |
| • Re: Perl + Mysql | Russell E Glaue | 10 Apr |
| • Re: Perl + Mysql | Dana Prescott Kennedy Powers | 10 Apr |
| • Re: Perl + Mysql | Russell E Glaue | 20 Jun |
| • Re: Perl + Mysql | Dana Powers | 21 Jun |
| • Re: Perl + Mysql | barries | 22 Jun |
| • Re: Perl + Mysql | Russell E Glaue | 22 Jun |
| • Re: Perl + Mysql | barries | 22 Jun |
| • Re: Perl + Mysql | Sasha Pachev | 23 Jun |
| • MySQL SNMP | Russell E Glaue | 23 Jun |
| • Re: MySQL SNMP | Sasha Pachev | 24 Jun |
| • Re: Perl + Mysql | Dana Powers | 27 Aug |
| • Re: Perl + Mysql | Sinisa Milivojevic | 22 Jun |
