Commit graph

507 commits

Author SHA1 Message Date
jani@hynda.(none)
c961494444 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.
2002-05-29 15:07:30 +03:00
jani@rhols221.adsl.netsonic.fi
2c83dba2f3 Fixed a bug in mysqlmanager-pwgen. 2002-05-29 00:34:25 +03:00
Sinisa@sinisa.nasamreza.org
0ba01513a5 small fix for a bug introduced when someone made a new getopt scheme
in clients ...
2002-05-28 14:47:51 +03:00
monty@hundin.mysql.fi
8b785bc84c Fixed core dump bug in mysqltest
Added DBUG_ code to lib_vio.c
2002-05-26 16:53:57 +03:00
jani@rhols221.arenanet.fi
16e3b892a6 Changed ft_dump, ft_eval, ft_test1, mi_test1, myisampack, gen_lex_hash,
mysqlmanager from using GNU getopt to use my_getopt.

Changed some files that just included old getopt.h to include
my_getopt.h now.

Fixed a bug in my_print_help() in my_getopt.c.

Made better documentation for option -G in mysql client.
2002-05-24 14:06:58 +03:00
jani@hynda.(none)
a5ec0a90ea 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.
2002-05-22 23:54:24 +03:00
monty@hundin.mysql.fi
c6b21b93dd Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-05-22 21:08:11 +03:00
monty@hundin.mysql.fi
c4a2d3d5d6 Portability fixes
Fixed problem with --password in mysql
2002-05-22 21:07:23 +03:00
jani@hynda.(none)
c66162b464 my_getopt:
- some minor bugfixes
- made code more readable
- support for printing GET_BOOL type options in my_print_variables(),
  value is either TRUE or FALSE
2002-05-22 20:45:19 +03:00
monty@hundin.mysql.fi
24b1874ad5 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-05-22 19:11:51 +03:00
monty@hundin.mysql.fi
cee1471ff6 Removed compiler warnings 2002-05-22 19:11:06 +03:00
jani@hynda.(none)
c2205c75ca Changed mysqlbinlog, mysqlmanager-pwgen, mysqlmanagerc, mysqltest,
thread_test and isamchk to use my_getopt.

Fixed a bug in my_getopt.
2002-05-22 00:05:05 +03:00
monty@hundin.mysql.fi
0c5c517db6 Fixed some compilation problems in last changeset 2002-05-16 23:35:09 +03:00
monty@hundin.mysql.fi
f5ed8784a2 merge with 3.23.51 2002-05-16 18:20:49 +03:00
jani@rhols221.adsl.netsonic.fi
d99be9ab43 Changed GET_STRALC to GET_STR_ALLOC 2002-05-15 20:24:00 +03:00
lenz@mysql.com
8f0f951b4b Reformatted license statement in mysqlcheck usage output text to enable
mysql_copyright to replace it
2002-05-15 15:35:27 +02:00
jani@rhols221.adsl.netsonic.fi
9eda54d153 - Added new type GET_STRALC to my_getopt.
- Fixed some bugs, wrongly freed pointers, in some clients.
- Removed unneccessary code.
- Fixed some other minor bugs and added some options into
  variables category, which had accidently been left out earlier.
2002-05-14 21:41:55 +03:00
miguel@hegel.local
3facae335e Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
jani@dsl-jkl1657.dial.inet.fi
4945fd4a05 - Fixed some option types in my_getopt struct in all clients.
- Added special option/variable prefix '--loose-' to my_getopt.c
2002-05-11 14:36:34 +03:00
zak@balfor.local
1405433568 Tiny fix to make the XML generated by the client well-formed.
(Thanks to Georg Richter!)
2002-05-08 03:16:58 -06:00
bell@sanja.is.com.ua
4328a8cff0 ChangeLog merging 2002-04-30 21:27:26 +03:00
jani@rhols221.adsl.netsonic.fi
ee4cfa340a Fixed a bug in mysqldump.c 2002-04-30 12:32:45 +03:00
serg@serg.mysql.com
b79f2f510d Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-04-28 21:27:21 +00:00
serg@serg.mysql.com
900788b2a1 init_dynamic_array MyODBC compatibility fix 2002-04-28 21:22:37 +00:00
bell@sanja.is.com.ua
ea459bc950 disabled query cache in mysqldump queries 2002-04-27 12:09:59 +03:00
monty@hundin.mysql.fi
1f5f3612f3 Fixed syntax error in mysql.cc 2002-04-24 15:23:32 +03:00
monty@hundin.mysql.fi
3ede1596a0 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-04-24 12:11:49 +03:00
sasha@mysql.sashanet.com
4bc5d43b9c mysqlbinlog bug fixed 2002-04-23 09:17:00 -06:00
monty@hundin.mysql.fi
6c2593da7a Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-04-23 10:34:02 +03:00
monty@tik.mysql.fi
ae7f6435ca Merge hundin:/my/mysql-4.0 into tik.mysql.fi:/home/my/mysql-4.0 2002-04-22 23:42:28 +03:00
monty@tik.mysql.fi
e015f631fd Removed some old Makefiles to avoid name conflict on Mac OS X
Changed in client library character-set-dir -> character-sets-dir
2002-04-22 23:36:34 +03:00
jani@rhols221.adsl.netsonic.fi
430e9cab9f Bug fixes in mysql.cc and myisamchk.c 2002-04-18 13:53:28 +03:00
arjen@fred.bitbike.com
ae4455b5e7 English text enhancement.
SQL keywords/statements in caps.
2002-04-17 11:18:41 +10:00
jani@rhols221.adsl.netsonic.fi
9ec99388be Fixed a bug in mysql.cc 2002-04-16 11:39:03 +03:00
monty@hundin.mysql.fi
b5a145d872 merge 2002-04-13 15:34:39 +03:00
monty@tik.mysql.fi
9088383e0f merge 2002-04-12 21:53:41 +03:00
bell@sanja.is.com.ua
887eef8ff4 avoidance of caching mysqldump queries 2002-04-12 12:44:26 +03:00
monty@tik.mysql.fi
e857f561fd Fix for INET_NTOA(N) when N >= 2^32 2002-04-06 18:47:54 +03:00
sasha@mysql.sashanet.com
48af52bfc4 fixes to make it compile and pass the test suite again after the last
accidental push of broken code.
2002-04-04 21:36:24 -07:00
jani@hynda.mysql.fi
70a258757c Merge and two bug fixes in my_getopt.c 2002-04-03 15:44:20 +03:00
jani@hynda.mysql.fi
22a35da68c merge 2002-04-03 13:36:01 +03:00
jani@hynda.mysql.fi
6980eafe08 Merged in some changes made to MySQL clients by other
developers before pushing my_getopt.
2002-04-03 13:33:25 +03:00
jani@hynda.mysql.fi
c143f01dd1 Changed mysql, mysqladmin, mysqlshow, mysqldump, mysqlimport,
mysqlcheck and myisamchk to use new my_getopt struct.
2002-04-02 20:29:53 +03:00
monty@hundin.mysql.fi
6e247490dc Merge 2002-04-02 19:46:26 +03:00
monty@hundin.mysql.fi
d80ebc17d6 Cleanups
Don't use DBUG library for struct st_my_thread_var to make code less complicated.
2002-04-02 17:54:57 +03:00
monty@hundin.mysql.fi
dfd7f455e4 Fixed help typos in mysql.cc 2002-04-02 17:42:01 +03:00
Sinisa@sinisa.nasamreza.org
fe79f79548 fix for a coredump 2002-03-30 17:57:02 +02:00
Sinisa@sinisa.nasamreza.org
ee737d2fc2 solves coredump 2002-03-30 17:50:20 +02:00
monty@hundin.mysql.fi
2faee46284 merge (remove conflicting zip files) 2002-03-27 06:44:23 +02:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00