summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-28 11:28:02 +0300
committerMonty <monty@mariadb.org>2016-04-28 16:36:02 +0300
commitfabeab781920dfcaf8e606708ba2c6812f6ae5d8 (patch)
treed3a17702cbc67ed2d31f820e4b2f0988436e86b6 /mysys
parentdafed5b51591ad85ef7724156f135d5be8fe698d (diff)
downloadmariadb-git-fabeab781920dfcaf8e606708ba2c6812f6ae5d8.tar.gz
Cleanups
- Avoid some realloc() during startup - Ensure that file_key_management_plugin frees it's memory early, even if it's linked statically. - Fixed compiler warnings from unused variables and missing destructors - Fixed wrong indentation
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_default.c b/mysys/my_default.c
index 7f41551f779..0c4fce0d2c7 100644
--- a/mysys/my_default.c
+++ b/mysys/my_default.c
@@ -565,7 +565,7 @@ int my_load_defaults(const char *conf_file, const char **groups,
for (; *groups ; groups++)
group.count++;
- if (my_init_dynamic_array(&args, sizeof(char*),*argc, 32, MYF(0)))
+ if (my_init_dynamic_array(&args, sizeof(char*), 128, 64, MYF(0)))
goto err;
ctx.alloc= &alloc;