diff options
author | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-03-16 13:37:13 +0300 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-03-16 13:37:13 +0300 |
commit | 15baa13f84b9880eb9217a3c3b4f19c51bdfaf2d (patch) | |
tree | d8831432063fa4577460a57a59e8f5bcfeabbff7 /include | |
parent | 0fd7a359da836ab3233023dcd1b7c6ab09c90be6 (diff) | |
parent | f7cf8e57c12f435980bafb4f4b9c657a722345a4 (diff) | |
download | mariadb-git-15baa13f84b9880eb9217a3c3b4f19c51bdfaf2d.tar.gz |
Manual merge of patch for bug #40552 into the team tree.
Replaced a call to load_defaults() in sql_plugin.cc with
its thread-safe version.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 8fda6178f6b..01804cd089f 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -843,14 +843,17 @@ extern void *memdup_root(MEM_ROOT *root,const void *str, size_t len); extern int get_defaults_options(int argc, char **argv, char **defaults, char **extra_defaults, char **group_suffix); +extern int my_load_defaults(const char *conf_file, const char **groups, + int *argc, char ***argv, const char ***); extern int load_defaults(const char *conf_file, const char **groups, - int *argc, char ***argv); + int *argc, char ***argv); extern int modify_defaults_file(const char *file_location, const char *option, const char *option_value, const char *section_name, int remove_option); extern int my_search_option_files(const char *conf_file, int *argc, char ***argv, uint *args_used, - Process_option_func func, void *func_ctx); + Process_option_func func, void *func_ctx, + const char **default_directories); extern void free_defaults(char **argv); extern void my_print_default_files(const char *conf_file); extern void print_defaults(const char *conf_file, const char **groups); |