| List: | Internals | « Previous MessageNext Message » | |
| From: | Dana Prescott Kennedy Powers | Date: | April 2 2001 7:29am |
| Subject: | Re: Perl + Mysql | ||
| View as plain text | |||
Ive been thinking a bit about the cleanest way to integrate an embedded interpreter and mysqld. My plan right now is to a enable 'CREATE FUNCTION my_func RETURNS STRING PERL_NAME "my_perl_script.pl";'. The mysql.func table would be modified to add an additional column set in sql_yacc.yy, lang_type (other ideas?), which would indicate how the udf should be loaded - either using dlopen() ( currently the only option ), or by passing it off to an interpreter ( perl here ). Then we modify UDF_INIT to also include the function name and the dl path, so that the interpreter can load the appropriate file when necessary. This hopefully will leave almost all of the current udf code untouched, with the exception of the dlopen() and dlclose() calls - and shouldnt break existing udf functions. Thoughts? dpk
| 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 |
