Bug #44282 BACKUP plugin options not documented, not handled correctly in configure/build
Submitted: 15 Apr 2009 9:34 Modified: 16 Jan 2014 13:34
Reporter: Jon Stephens Email Updates:
Status: Won't fix Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:6.0.11-bzr OS:Linux (opensuse 10.2/64-bit)
Assigned to: CPU Architecture:Any

[15 Apr 2009 9:34] Jon Stephens
I get repeated failures in mysqlbackup.cc (a separate issue in itself) using --with-plugins=all.

Build also fails using 

--with-plugins=all --without-plugin-backup

 --with-plugins=myisam,partition,archive,blackhole,csv,falcon,heap,innobase,myisammrg --without-plugin-backup

--with-plugins=myisam,partition,archive,blackhole,csv,falcon,heap,innobase,myisammrg by itself appears to work correctly.

I also don't see any mention of backup plugin in output of configure --help. Should there be?

In addition, --with-plugins=myisam,partition,archive,blackhole,csv,falcon,heap,innobase,myisammrg,backup  fails with "configure: error: unknown plugin: backup".

How to repeat:
See Description.

Suggested fix:
1. Add backup-related options to configure --help output.

2. Determine whether or not backup should be built when using all, max, or max-no-ndb arguments to --with-plugins and make sure this info is also included in --help output.

3. Ensure that --without-plugin-backup actually works.

4. Make it clear in --help output (and to Docs Team) whether --without-plugin-* overrides any plugins selected for build using --with-plugins=all|max|max-no-ndb.
[16 Apr 2009 6:10] Sveta Smirnova
Thank you for the report.

I can not repeat build failure, so currently I can only verify absence of *backup* options in configure --help output.

Please provide error you get and full configure line so I could repeat build failure.
[16 Apr 2009 16:22] Jon Stephens
Hi Sveta,

As I indicated, the compile failure itself I consider to be a separate issue, so let's not worry about that here. (For one thing, I want to test on another machine, which I can't do right now because I'm travelling, and with a fresh 6.0 clone, which is difficult for me to obtain due to limited bandwidth while on the road.)

Let's use *this* bug to sort out whatever is happening with the configure options themselves, beginning with a clarification of what is expected behaviour with regard to Backup and what's shown by configure --help.

Sound reasonable?
[28 Apr 2009 8:24] Sveta Smirnova
Thank you for the feedback.

Yes, sounds reasonable. Verified. Still compiling error as this is configure's option.
[16 Jan 2014 13:34] Ståle Deraas
Posted by developer:
Autotools specific.