On Tue, 2006-11-21 at 09:50 +0100, Paul McCullagh wrote:
> >> I have been informed that in MySQL 5.1, pluggable storage engines
> >> will be
> >> able to declare their own configuration parameters and settable
> >> variables.
> >> In struct st_mysql_plugin (include/mysql/plugin.h), there are three
> >> fields for this:
> >>
> >> struct st_mysql_show_var *status_vars;
> >> void * __reserved1; /* placeholder for system variables */
> >> void * __reserved2; /* placeholder for config options */
> >>
> >> I would have expected to find an example of the usage in
> >> storage/example/ha_example.cc. Alas, all three fields are
> >> initialized
> >> to NULL there, just like in every other storage engine that is
> >> currently
> >> available at bk://mysql.bkbits.net/mysql-5.1.
> >
> > This is not implemented yet :(
> >
> >> When will this be implemented?
> >
> > This is work in progress, Antony is working on it at the very moment.
>
> Good to know. I'm waiting for this one too... :)
I'm also waiting for it in my work to make NDB pluggable. We have quite
a lot of options that can be specified on command line/my.cnf for NDB.
As a temporary gross hack, I've put the configuration options into a
table.
Of course, I haven't managed to get it all linking successfully yet*, so
I can't tell you if it works or not :)
[*] various libtool and automake foo seem to be slightly akin to finely
chopping onions with a really sharp knife - blindfolded and drunk;
perhaps i'm just not too knowledgable there though :)
--
Stewart Smith, Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@stripped
Mobile: +61 4 3 8844 332
Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc