← Back to team overview

ourdelta-developers team mailing list archive

[Bug 454254] Re: deb package tries to add innodb, federated, blackhole as plugins while they arent

 

Hi!

>>>>> "Mark" == Mark Callaghan <mdcallag@xxxxxxxxx> writes:

Mark> Why have the built-in and plug-in versions of InnoDB been disabled? Disabled means I cannot compile them with MariaDB.
Mark> And why does XtraDB use the plugin name 'innobase' rather than 'xtradb' or 'xtradb_plugin'? Built-in InnoDB uses the name 'innobase' and plug-in InnoDB uses the name 'innodb_plugin'.

Mark> See storage/innobase/plug.in.disabled,
Mark> storage/innodb_plugin/plug.in.disabled, storage/xtradb/plug.in

The reason for disabling them is mainly because of time constraint to
get a release out.  Feel free to fix so that one can decide on the
configure line which one wants to use.

The reason for the name 'xtradb' is, I assume, to make MariaDB use
xtradb instead of InnoDB without anyone having to change any options
when installing MariaDB to be used with an MySQL installation.

I personally don't see a reason to have both innobase_plugin and
xtradb used at the same time as xtradb will contains everthing and
more than innobase_plugin;  The main reason to have innobase_plugin in
the tree is just to make it simpler when we pull code from the MySQL
tree.

<cut>

Regards,
Monty

-- 
deb package tries to add innodb,federated,blackhole as plugins while they arent
https://bugs.launchpad.net/bugs/454254
You received this bug notification because you are a member of OurDelta-
developers, which is the registrant for OurDelta.

Status in Maria: New
Status in OurDelta - Builds for MySQL,MariaDB: New

Bug description:
ourdelta-mariadb51-2/bakery/debian-5.1/dist/Ubuntu/mariadb-server-5.1.postinst has this:

        "CREATE TABLE plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
        "  dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
        "  PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';\n" \
        "INSERT INTO plugin VALUES ('innodb',    'ha_innodb.so');\n" \
        "INSERT INTO plugin VALUES ('federated', 'ha_federated.so');\n" \
        "INSERT INTO plugin VALUES ('blackhole', 'ha_blackhole.so');\n" \
        "INSERT INTO plugin VALUES ('archive',   'ha_archive.so');" `

But when I unpack all of mariadb .deb files, I find only one plugin - ha_example.so.  innodb, blackhole, archive seem to be compiled statically, federated seems to be compiled dynamically but missing.

The build and postinst script should be brought in sync.



References