diff options
author | unknown <hf@deer.(none)> | 2003-06-03 15:02:57 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-06-03 15:02:57 +0500 |
commit | aed6de39b6129d84f091e23b4a8b0f5cc8e6076d (patch) | |
tree | 52e689b118c79c0b3706dafc28ecf72060fa9844 /mysys/default.c | |
parent | 62c7d2cd2711d3ab2b7d0adba2947b38168cc4b3 (diff) | |
download | mariadb-git-aed6de39b6129d84f091e23b4a8b0f5cc8e6076d.tar.gz |
SCRUM:
splittiln common client's parts
include/sql_common.h:
superfluous #ifdef-s removed
libmysql/client_settings.h:
superfluous #ifdef-s removed
libmysql/libmysql.c:
some litter removed
libmysqld/lib_sql.cc:
here we had wrong parameters
mysys/default.c:
this is not needed anymore - calling code fixed
sql-common/client.c:
code trimmed and simplified
sql/client_settings.h:
code trimmed
sql/repl_failsafe.cc:
option's initialization added
sql/slave.cc:
option's initialization added
Diffstat (limited to 'mysys/default.c')
-rw-r--r-- | mysys/default.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/default.c b/mysys/default.c index 7b02999160e..bbf429eb920 100644 --- a/mysys/default.c +++ b/mysys/default.c @@ -174,8 +174,6 @@ void load_defaults(const char *conf_file, const char **groups, res= (char**) (ptr+sizeof(alloc)); /* copy name + found arguments + command line arguments to new array */ - res[0]=*argc ? argv[0][0] : (char *)""; - memcpy((gptr) (res+1), args.buffer, args.elements*sizeof(char*)); /* Skipp --defaults-file and --defaults-extra-file */ (*argc)-= args_used; |