List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:June 19 2007 10:11am
Subject:Re: INFORMATION_SCHEMA_PLUGIN ignored for dynamic plugins?
View as plain text  
Hi!

On Jun 06, Marko Mäkelä wrote:
> On Mon, May 21, 2007 at 04:42:02PM +0300, Marko Mäkelä wrote:
> > On Mon, May 21, 2007 at 01:25:53PM +0300, Marko Mäkelä wrote:
> > > I have created two INFORMATION_SCHEMA pseudo-tables for exporting
> > > some InnoDB statistics.  These tables are available to the SQL
> > > interpreter when InnoDB is linked statically to MySQL, but not
> > > when it is loaded as a dynamic plugin.  Is this a known problem,
> > > or perhaps a bug in my code?
> > 
> > Thanks to the advice I got on #mysql-dev at freenode.net, I
> > understood that I will have to invoke INSTALL PLUGIN on every entity
> > named inside the mysql_declare_plugin() array.
> 
> Is there any way around this?  Could a storage engine plugin somehow
> automatically install all INFORMATION_SCHEMA plugins that the engine
> implements?  Sort of adding virtual rows to the mysql.plugin table?

Not at the moment :(
But we're working on WL#3295 "plugin run-time dependencies", which will
be a solution to this problem.
 
> I fear it would be cumbersome for users to issue multiple INSTALL
> PLUGIN statements when installing an InnoDB plugin.

Yes :(
 
Regards / Mit vielen Grüssen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Developer
/_/  /_/\_, /___/\___\_\___/  MySQL GmbH, Radlkoferstr. 2, D-81373 München
       <___/                  Geschäftsführer: Kaj Arnö - HRB
München 162140
Thread
INFORMATION_SCHEMA_PLUGIN ignored for dynamic plugins?Marko Mäkelä21 May
  • Re: INFORMATION_SCHEMA_PLUGIN ignored for dynamic plugins?Marko Mäkelä21 May
    • Re: INFORMATION_SCHEMA_PLUGIN ignored for dynamic plugins?Mark Leith21 May
    • Re: INFORMATION_SCHEMA_PLUGIN ignored for dynamic plugins?Marko Mäkelä6 Jun
      • Re: INFORMATION_SCHEMA_PLUGIN ignored for dynamic plugins?Sergei Golubchik19 Jun