When we start a server with test-run.pl, the program automatically sets
--secure-file-priv=$VARDIR.

However, there are times when we might want to have another directory used
for that option.  For example, if we use BLOB/TEXT columns with the randgen,
it loads from files within the randgen's directory (the randgen code is set
up this way).  However, if we try to pass an additional --secure-file-priv
argument, the server will not start due to there being duplicate arguments:

terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::multiple_occurrences>
>'
  what():  multiple occurrences
Note: Forcing kill of process 22562

We can code around this in test-run - if we get passed a command line option
for --secure-file-priv, we won't add the option to set it to $VARDIR.  This
seems a bit hackish to me though.

Is this expected behavior and do we have any other options here?

Thanks,
Patrick
_______________________________________________
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