Skip to content

Commit 4814d82

Browse files
committed
Bug #16680313: CLIENT DOESN'T READ PLUGIN-DIR FROM MY.CNF SET BY
MYSQL_READ_DEFAULT_FILE Parsing of the plugin-dir config file option was not working due to a typo. Fixed the typo. No test case can be added due to lack of support for defaults-exitra-file testing in mysql-test-run.pl. Thanks to Sinisa for contributing the fix.
1 parent b5f378f commit 4814d82

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sql-common/client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by
@@ -1394,7 +1394,7 @@ void mysql_read_default_options(struct st_mysql_options *options,
13941394
opt_arg));
13951395
break;
13961396
}
1397-
convert_dirname(buff, buff2, NULL);
1397+
convert_dirname(buff2, buff, NULL);
13981398
EXTENSION_SET_STRING(options, plugin_dir, buff2);
13991399
}
14001400
break;

0 commit comments

Comments
 (0)