Commit graph

33 commits

Author SHA1 Message Date
jani@rhols221.adsl.netsonic.fi
15ad3ee806 Fixed a bug in my_getopt and mysqld.cc 2002-09-05 14:22:52 +03:00
jani@rhols221.adsl.netsonic.fi
f8e8d71b79 Removed unneccessary comment. 2002-08-28 13:28:11 +03:00
jani@rhols221.adsl.netsonic.fi
c7d7d8abe3 * Fixed a bug in my_getopt
* Fixed some spelling/language errors in mysqlcheck
* Added some more information in mysql -client internal help.
2002-08-28 13:14:11 +03:00
jani@hynda.(none)
706bae5cf2 A compatibility fix in my_getopt for boolean variables. All of
these work now and do the same thing: --lower-case-table-names,
--lower-case-table-names=1, -O lower-case-table-names=1,
--set-variable=lower-case-table-names=1
2002-08-19 16:27:59 +03:00
monty@mashka.mysql.fi
dddc20d9d1 New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
jani@rhols221.adsl.netsonic.fi
6a95858ca0 Merge work:/home/bk/mysql-4.0/
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-10 20:19:36 +03:00
lenz@mysql.com
04888e4675 Added a compile fix for AIX to include/my_sys.h
Corrected some comments that were using C++-style instead of C-style
2002-07-03 18:45:38 +02:00
jani@rhols221.adsl.netsonic.fi
b3d57979c7 Merge work:/home/bk/mysql-4.0/
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-01 10:14:55 +03:00
monty@hundin.mysql.fi
8fa3c789f6 Added support for semaphores in mysys.
(Needed for query cache for systems which doesn't have native semaphores)
2002-06-29 00:16:15 +03:00
jani@rhols221.adsl.netsonic.fi
7cad1f9313 Added interface for first set of dynamic variables. 2002-06-28 19:30:09 +03:00
monty@mashka.mysql.fi
2aecdd1a91 Big code cleanup/review before 4.0.2 release.
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
jani@rhols221.adsl.netsonic.fi
c038efd877 Some enhancements in my_getopt. Made code more readable and better
optimized in some places.
2002-06-09 23:27:07 +03:00
jani@rhols221.adsl.netsonic.fi
3e989a9049 Fixed two bugs in my_getopt. 2002-06-03 03:02:32 +03:00
jani@dsl-jkl1657.dial.inet.fi
0b5e2d9896 Fixed a bug in my_getopt. 2002-05-31 16:23:36 +03:00
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.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)
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
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
jani@rhols221.adsl.netsonic.fi
d99be9ab43 Changed GET_STRALC to GET_STR_ALLOC 2002-05-15 20:24:00 +03:00
jani@rhols221.adsl.netsonic.fi
3893920cbe Some bug fixes. 2002-05-15 02:33:41 +03: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
jani@rhols221.adsl.netsonic.fi
00836cb3ad Fixed some bugs and added support for --loose-set-variable 2002-05-13 22:03:47 +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
jani@rhols221.adsl.netsonic.fi
c445048341 Fixed some bugs in my_getopt.c, added functionality for new GET_*
types, migrated mysqld.cc to use my_getopt.
2002-05-07 20:35:06 +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
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
b5a4f89ea6 Portability fixes
Fix bug when using option groups
2002-03-06 22:12:08 +02:00
jani@rhols221.adsl.netsonic.fi
d57b95b695 Bug fixes and new functionality added in my_getopt and myisamchk 2002-02-06 17:22:43 +02:00
monty@hundin.mysql.fi
4000b036c0 Fixes for new getopt
Bug fix when using --no-deaults
Sets ref_length to right value (faster rnd_pos() handling in InnoDB).
Fixed problem with multi-table-delete and InnoDB
Fixed problem with truncate table, which required a COMMIT before.
Fixed multi-table-delete bug with InnoDB.
Remove not used index from EXPLAIN
2002-01-31 04:36:58 +02:00
jani@hynda.mysql.fi
784e1d8b34 New functionality to my_getopt. myisamchk now uses my_getopt
only.
2002-01-30 05:08:17 +02:00
jani@rhols221.adsl.netsonic.fi
40fcae6d4b Added my_getopt struct and modified myisamchk to the bk tree. 2002-01-25 23:34:37 +02:00