Hi guys,

As many of you may have noticed the command line options in Drizzle are breaking away from using MySQL my_getopt to using Boost::program_options. This is down to the great work by Vijay and Monty.

Unfortunately there are a couple of bugs especially in older versions of boost which means we have had to change behaviour slightly. Any boolean option is now switched just using the option name, a true/false or 0/1 value is not accepted. For example, in MySQL to disable InnoDB's adaptive flushing you need to do:

--innodb_adaptive_flushing=false

In Drizzle this has now changed to:

--innodb.disable-adaptive-flushing

Two other things to note if you haven't spotted them already:

1. Option names use the formation plugin.option. So here innodb is the plugin and disable-adaptive-flushing is the option.
2. We now only accept '-' separator, not '_'.

You should see all of this if you are using trunk now, or the release due this week.

We do hope to eventually bring back true/false parameters once our Boost version requirements get higher. But this could be a couple of years off.

Kind Regards
--
Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to