mariadb/mysys
unknown a90b2f309e 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.

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.
2002-05-29 15:07:30 +03:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
array.c Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
ChangeLog Import changeset 2000-07-31 21:29:14 +02:00
charset.c Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
checksum.c Update copyright 2001-12-06 14:10:51 +02:00
COPYING.LIB PART I: Keys support for MyMERGE tables 2000-08-14 15:27:19 +04:00
default.c Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
errors.c Update copyright 2001-12-06 14:10:51 +02:00
getvar.c New functionality to my_getopt. myisamchk now uses my_getopt 2002-01-30 05:08:17 +02:00
hash.c Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
list.c Update copyright 2001-12-06 14:10:51 +02:00
make-ccc Import changeset 2000-07-31 21:29:14 +02:00
make-conf.c Update copyright 2001-12-06 14:10:51 +02:00
Makefile.am fixed tests after merge 2002-05-28 10:21:56 +03:00
md5.c Update copyright 2001-12-06 14:10:51 +02:00
mf_brkhant.c Update copyright 2001-12-06 14:10:51 +02:00
mf_cache.c Update copyright 2001-12-06 14:10:51 +02:00
mf_casecnv.c Update copyright 2001-12-06 14:10:51 +02:00
mf_dirname.c Update copyright 2001-12-06 14:10:51 +02:00
mf_fn_ext.c Update copyright 2001-12-06 14:10:51 +02:00
mf_format.c Update copyright 2001-12-06 14:10:51 +02:00
mf_getdate.c Update copyright 2001-12-06 14:10:51 +02:00
mf_iocache.c relay_log_space_limit 2002-04-01 21:46:23 -07:00
mf_iocache2.c relay_log_space_limit 2002-04-01 21:46:23 -07:00
mf_keycache.c Update copyright 2001-12-06 14:10:51 +02:00
mf_loadpath.c Fixed mysqldumpslow for new dump format. 2002-03-12 11:52:41 +02:00
mf_pack.c Update copyright 2001-12-06 14:10:51 +02:00
mf_path.c Update copyright 2001-12-06 14:10:51 +02:00
mf_qsort.c mf_qsort.c: 2002-02-23 15:22:19 +00:00
mf_qsort2.c Update copyright 2001-12-06 14:10:51 +02:00
mf_radix.c Update copyright 2001-12-06 14:10:51 +02:00
mf_same.c Update copyright 2001-12-06 14:10:51 +02:00
mf_sleep.c Update copyright 2001-12-06 14:10:51 +02:00
mf_sort.c Update copyright 2001-12-06 14:10:51 +02:00
mf_soundex.c Update copyright 2001-12-06 14:10:51 +02:00
mf_strip.c merge with 3.23.51 2002-05-27 23:52:21 +03:00
mf_tempfile.c Update copyright 2001-12-06 14:10:51 +02:00
mf_unixpath.c Update copyright 2001-12-06 14:10:51 +02:00
mf_util.c Update copyright 2001-12-06 14:10:51 +02:00
mf_wcomp.c Update copyright 2001-12-06 14:10:51 +02:00
mf_wfile.c Update copyright 2001-12-06 14:10:51 +02:00
mulalloc.c Update copyright 2001-12-06 14:10:51 +02:00
my_alarm.c Update copyright 2001-12-06 14:10:51 +02:00
my_alloc.c allocated bigger blocks if it needed 2002-04-13 12:08:12 +03:00
my_append.c Update copyright 2001-12-06 14:10:51 +02:00
my_bit.c Update copyright 2001-12-06 14:10:51 +02:00
my_bitmap.c Minors changes for the Windows 3.23.47 release 2001-12-30 00:22:01 -02:00
my_chsize.c Update copyright 2001-12-06 14:10:51 +02:00
my_clock.c Update copyright 2001-12-06 14:10:51 +02:00
my_compress.c Update copyright 2001-12-06 14:10:51 +02:00
my_copy.c Update copyright 2001-12-06 14:10:51 +02:00
my_create.c Update copyright 2001-12-06 14:10:51 +02:00
my_delete.c Update copyright 2001-12-06 14:10:51 +02:00
my_div.c Update copyright 2001-12-06 14:10:51 +02:00
my_dup.c Update copyright 2001-12-06 14:10:51 +02:00
my_error.c Update copyright 2001-12-06 14:10:51 +02:00
my_fopen.c Update copyright 2001-12-06 14:10:51 +02:00
my_fstream.c Update copyright 2001-12-06 14:10:51 +02:00
my_gethostbyname.c Fixed some compilation problems in last changeset 2002-05-16 23:35:09 +03:00
my_getopt.c Added useful exit error code for programs using my_getopt in case 2002-05-29 15:07:30 +03:00
my_getwd.c Update copyright 2001-12-06 14:10:51 +02:00
my_init.c Update copyright 2001-12-06 14:10:51 +02:00
my_lib.c Update copyright 2001-12-06 14:10:51 +02:00
my_lock.c Update copyright 2001-12-06 14:10:51 +02:00
my_lockmem.c Update copyright 2001-12-06 14:10:51 +02:00
my_lread.c Update copyright 2001-12-06 14:10:51 +02:00
my_lwrite.c Update copyright 2001-12-06 14:10:51 +02:00
my_malloc.c Update copyright 2001-12-06 14:10:51 +02:00
my_messnc.c Update copyright 2001-12-06 14:10:51 +02:00
my_mkdir.c Update copyright 2001-12-06 14:10:51 +02:00
my_net.c Update copyright 2001-12-06 14:10:51 +02:00
my_new.cc Update to autoconf 2.52 2002-02-07 21:34:35 +02:00
my_once.c Update copyright 2001-12-06 14:10:51 +02:00
my_open.c Update copyright 2001-12-06 14:10:51 +02:00
my_os2cond.c Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2dirsrch.c Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2dirsrch.h Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2dlfcn.c Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2dlfcn.h0 Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2file64.c Update for OS2 (patch from Yuri Dario). 2001-10-31 03:22:31 +02:00
my_os2mutex.c Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2thread.c Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_os2tls.c Fixes for OS2. 2001-08-22 01:45:07 +03:00
my_pread.c Update copyright 2001-12-06 14:10:51 +02:00
my_pthread.c Fixing a small bug in new code for cond_timedwait fix 2002-05-28 13:36:51 +03:00
my_quick.c Update copyright 2001-12-06 14:10:51 +02:00
my_read.c Update copyright 2001-12-06 14:10:51 +02:00
my_realloc.c Update copyright 2001-12-06 14:10:51 +02:00
my_redel.c Update copyright 2001-12-06 14:10:51 +02:00
my_rename.c Update copyright 2001-12-06 14:10:51 +02:00
my_seek.c Update copyright 2001-12-06 14:10:51 +02:00
my_static.c Portability fixes 2001-12-17 15:00:14 +02:00
my_static.h safemalloc cleanup. Maybe it will now compile on FreeBSD. I still not have 2002-04-05 23:07:25 -07:00
my_symlink.c Update copyright 2001-12-06 14:10:51 +02:00
my_symlink2.c Update copyright 2001-12-06 14:10:51 +02:00
my_tempnam.c Update copyright 2001-12-06 14:10:51 +02:00
my_thr_init.c merge with 3.23.51 2002-05-16 18:20:49 +03:00
my_vsnprintf.c load local fix 2002-03-02 12:45:44 -07:00
my_wincond.c Update copyright 2001-12-06 14:10:51 +02:00
my_winsem.c Fixed sleep time in mysql-test-run 2001-12-13 02:31:19 +02:00
my_winthread.c Update copyright 2001-12-06 14:10:51 +02:00
my_write.c Update copyright 2001-12-06 14:10:51 +02:00
mysys_priv.h Update copyright 2001-12-06 14:10:51 +02:00
ptr_cmp.c Update copyright 2001-12-06 14:10:51 +02:00
queues.c test for truncation operator in indexless bolelan fts 2001-12-10 12:59:11 +01:00
raid.cc Split raid C function to separate file to make things more portable. 2002-05-27 10:02:00 +03:00
raid2.c Split raid C function to separate file to make things more portable. 2002-05-27 10:02:00 +03:00
safemalloc.c fixed bug in truncating temp tables 2002-04-08 18:20:24 -06:00
string.c Update copyright 2001-12-06 14:10:51 +02:00
test_charset.c Update copyright 2001-12-06 14:10:51 +02:00
test_dir.c Update copyright 2001-12-06 14:10:51 +02:00
test_fn.c Update copyright 2001-12-06 14:10:51 +02:00
testhash.c mysys/testhash.c: Changed Swedish comments to English. 2002-03-27 05:37:55 -06:00
thr_alarm.c support for unsigned FLOAT/DOUBLE 2002-03-27 00:50:54 +02:00
thr_lock.c Update copyright 2001-12-06 14:10:51 +02:00
thr_mutex.c Ugly merge! But I am not done yet - there are a number of things I need to fix 2002-01-19 22:46:25 -07:00
thr_rwlock.c Update copyright 2001-12-06 14:10:51 +02:00
tree.c Update copyright 2001-12-06 14:10:51 +02:00
typelib.c Update copyright 2001-12-06 14:10:51 +02:00