mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
a90b2f309e
of an error in option handling. This can sometimes be useful in scripts. Changed some exit code names and corresponding numbers. Fixed a bug in mysqld.cc, in replication related options. Added a global flag in my_getopt, which can be set by any program that is using my_getopt, which tells whether the client should print the error message itself, or whether my_getopt should do it. The default is that my_getopt will print the error messages. client/mysql.cc: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqladmin.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqlbinlog.cc: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqlcheck.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqldump.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqlimport.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqlmanager-pwgen.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqlmanagerc.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqlshow.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/mysqltest.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. client/thread_test.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. extra/my_print_defaults.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. extra/mysql_install.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. extra/perror.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. extra/resolve_stack_dump.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. extra/resolveip.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. include/my_getopt.h: Added global (flag) variable which tells my_getopt whether to print errors or just silently exit with proper error code. include/mysys_err.h: Changed exit code names and corresponding numbers. isam/isamchk.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. isam/pack_isam.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. myisam/ft_dump.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. myisam/ft_eval.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. myisam/ft_test1.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. myisam/mi_test1.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. myisam/myisamchk.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. myisam/myisampack.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. mysys/my_getopt.c: Changed exit code names and corresponding numbers. Added a flag for checking whether my_getopt should print the error message, or whether it should be printed by the client itself. sql/gen_lex_hash.cc: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. sql/mysqld.cc: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. Fixed a bug when compiling in non-debug mode, some replication related options were not enabled while they should be. This made 'make test' to fail in rpl000010 when --with-debug was not used. tools/mysqlmanager.c: Added useful exit error code for programs using my_getopt in case of an error in option handling. This can sometimes be useful in scripts. |
||
---|---|---|
.. | ||
.cvsignore | ||
array.c | ||
ChangeLog | ||
charset.c | ||
checksum.c | ||
COPYING.LIB | ||
default.c | ||
errors.c | ||
getvar.c | ||
hash.c | ||
list.c | ||
make-ccc | ||
make-conf.c | ||
Makefile.am | ||
md5.c | ||
mf_brkhant.c | ||
mf_cache.c | ||
mf_casecnv.c | ||
mf_dirname.c | ||
mf_fn_ext.c | ||
mf_format.c | ||
mf_getdate.c | ||
mf_iocache.c | ||
mf_iocache2.c | ||
mf_keycache.c | ||
mf_loadpath.c | ||
mf_pack.c | ||
mf_path.c | ||
mf_qsort.c | ||
mf_qsort2.c | ||
mf_radix.c | ||
mf_same.c | ||
mf_sleep.c | ||
mf_sort.c | ||
mf_soundex.c | ||
mf_strip.c | ||
mf_tempfile.c | ||
mf_unixpath.c | ||
mf_util.c | ||
mf_wcomp.c | ||
mf_wfile.c | ||
mulalloc.c | ||
my_alarm.c | ||
my_alloc.c | ||
my_append.c | ||
my_bit.c | ||
my_bitmap.c | ||
my_chsize.c | ||
my_clock.c | ||
my_compress.c | ||
my_copy.c | ||
my_create.c | ||
my_delete.c | ||
my_div.c | ||
my_dup.c | ||
my_error.c | ||
my_fopen.c | ||
my_fstream.c | ||
my_gethostbyname.c | ||
my_getopt.c | ||
my_getwd.c | ||
my_init.c | ||
my_lib.c | ||
my_lock.c | ||
my_lockmem.c | ||
my_lread.c | ||
my_lwrite.c | ||
my_malloc.c | ||
my_messnc.c | ||
my_mkdir.c | ||
my_net.c | ||
my_new.cc | ||
my_once.c | ||
my_open.c | ||
my_os2cond.c | ||
my_os2dirsrch.c | ||
my_os2dirsrch.h | ||
my_os2dlfcn.c | ||
my_os2dlfcn.h0 | ||
my_os2file64.c | ||
my_os2mutex.c | ||
my_os2thread.c | ||
my_os2tls.c | ||
my_pread.c | ||
my_pthread.c | ||
my_quick.c | ||
my_read.c | ||
my_realloc.c | ||
my_redel.c | ||
my_rename.c | ||
my_seek.c | ||
my_static.c | ||
my_static.h | ||
my_symlink.c | ||
my_symlink2.c | ||
my_tempnam.c | ||
my_thr_init.c | ||
my_vsnprintf.c | ||
my_wincond.c | ||
my_winsem.c | ||
my_winthread.c | ||
my_write.c | ||
mysys_priv.h | ||
ptr_cmp.c | ||
queues.c | ||
raid.cc | ||
raid2.c | ||
safemalloc.c | ||
string.c | ||
test_charset.c | ||
test_dir.c | ||
test_fn.c | ||
testhash.c | ||
thr_alarm.c | ||
thr_lock.c | ||
thr_mutex.c | ||
thr_rwlock.c | ||
tree.c | ||
typelib.c |