summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2005-01-12 19:57:26 +0400
committerunknown <hf@deer.(none)>2005-01-12 19:57:26 +0400
commit5b0678232fcb576d7e7aa8f53fcfeec757507d42 (patch)
tree7fd30a3f7ce6781b94f96e912a144421e21cdede /mysys
parentdd3cfa8d887bab5d7555a7ca9d1b072897b79dcd (diff)
downloadmariadb-git-5b0678232fcb576d7e7aa8f53fcfeec757507d42.tar.gz
--defaults-extra-file bug fixed
mysys/default.c: silly mistake happened during the merge
Diffstat (limited to 'mysys')
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index 0b3f830d476..73dca3b6c2f 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -119,7 +119,7 @@ static int search_files(const char *conf_file, int *argc, char ***argv,
if (defaults_extra_file)
defaults_extra_file= strchr(defaults_extra_file,'=')+1;
- args_used+= (forced_default_file ? 1 : 0) + (defaults_extra_file ? 1 : 0);
+ (*args_used)+= (forced_default_file ? 1 : 0) + (defaults_extra_file ? 1 : 0);
if (forced_default_file)
{