diff options
author | jani@hynda.(none) <> | 2002-05-22 23:54:24 +0300 |
---|---|---|
committer | jani@hynda.(none) <> | 2002-05-22 23:54:24 +0300 |
commit | a5ec0a90ead69f16771ae9fc43d429c33ee54129 (patch) | |
tree | c01334461ba2741cbb5763ef8029cae9ea298d25 /fs | |
parent | c6b21b93dd966a9a54fa9523e54f5944fe0fc008 (diff) | |
download | mariadb-git-a5ec0a90ead69f16771ae9fc43d429c33ee54129.tar.gz |
moved my_getopt.h under client_priv.h
Changed my_print_defaults, mysql_install, perror, resolve_stack_dump,
resolveip and pack_isam to use my_getopt.
Diffstat (limited to 'fs')
-rw-r--r-- | fs/mysqlcorbafs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fs/mysqlcorbafs.c b/fs/mysqlcorbafs.c index 8943c00ed25..4bc27618d4d 100644 --- a/fs/mysqlcorbafs.c +++ b/fs/mysqlcorbafs.c @@ -23,7 +23,7 @@ #include "libmysqlfs.h" #include "mysqlcorbafs.h" -#include <getopt.h> +#include <my_getopt.h> #define MAXPATHLEN 256 #include <sys/types.h> @@ -62,6 +62,10 @@ static char *default_charset, *current_host, *current_user, *opt_password, *path,*fields_terminated=0, *lines_terminated=0, *enclosed=0, *opt_enclosed=0, *escaped=0; + +/* This should be fixed to use my_getopt when the program is ready + + static struct option long_options[] = { {"add-locks", no_argument, 0,OPT_LOCKS}, @@ -99,6 +103,7 @@ static struct option long_options[] = {0, 0, 0, 0} }; +*/ /* void @@ -428,6 +433,8 @@ static int get_options(int *argc,char ***argv) my_bool tty_password=0; DBUG_ENTER("get_options"); load_defaults("my",load_default_groups,argc,argv); + + /* change this to use my_getopt when program is ready */ set_all_changeable_vars(changeable_vars); while ((c=getopt_long(*argc,*argv,"#::p::h:u:O:P:S:T:EBaAcCdefFlnqtvVw:?Ix", long_options, &option_index)) != EOF) |