Commit graph

147 commits

Author SHA1 Message Date
wax@mysql.com
e91d1b2cbe Add shared memory protocol and option --protocol 2002-11-15 00:16:30 +05:00
bar@bar.mysql.r18.ru
95ffd436a6 Fixes for fault about String::copy() 2002-11-10 14:05:17 +04:00
vva@genie.(none)
9adf688be6 add help command on server side 2002-10-28 17:44:19 +04:00
monty@hundin.mysql.fi
fbf6ab4465 merge with 4.0.5 2002-10-16 19:30:24 +03:00
jani@rhols221.adsl.netsonic.fi
4143937723 Fixed some bugs in mysql, mysqladmin and mysqld. 2002-10-15 23:34:55 +03:00
monty@hundin.mysql.fi
a975cecf42 Merge 2002-10-14 17:50:44 +03:00
serg@serg.mysql.com
fcb8bc061d merged 2002-10-14 11:36:48 +00:00
monty@narttu.mysql.fi
3c7f6a9835 merge 2002-10-14 12:07:16 +03:00
bar@bar.mysql.r18.ru
50c391538a my_sortcmp -> my_strnncoll 2002-10-09 16:33:35 +05:00
monty@narttu.mysql.fi
da2abaf887 Portability fixes to be able to compile MySQL with VC++ 2002-10-08 22:28:24 +03:00
jani@rhols221.adsl.netsonic.fi
d4fc18bf5f Small fixes in mysql and myisampack 2002-10-04 17:18:41 +03:00
monty@mashka.mysql.fi
0f39457613 Merge with 4.0.4 2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
d69250a969 Fixes and code cleanups after merge with 4.0.3
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()

Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
jani@hynda.(none)
bed08a376d Fixed a bug in mysql client. 2002-09-30 20:35:21 +03:00
monty@mashka.mysql.fi
6aef4237d7 Fixed bug in previous patch when using a libc with static nss 2002-09-22 10:35:15 +03:00
monty@mashka.mysql.fi
cb8580a2cd Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
This should fix some issues where --lower-case-table-names doesn't work properly under windows.
2002-09-20 14:05:18 +03:00
monty@mashka.mysql.fi
7f55d92637 fixed so that --ssl and --skip-ssl works with the MySQL clients.
Fixed core dump bug when sending wrong string to AES_DECRYPT()
2002-09-17 23:46:53 +03:00
monty@mashka.mysql.fi
a01a0840dc Some trivial optimzations
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
Better fix for ALTER TABLE on BDB tables.
2002-09-03 15:44:25 +03:00
monty@narttu.mysql.fi
7134ffec21 Merge with 4.0.3
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +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
Sinisa@sinisa.nasamreza.org
926c6cb3fa A small bug fix for the tee command ... 2002-08-27 16:01:25 +03:00
monty@mashka.mysql.fi
d49bf802ec Removed wrong mutex lock (hangup in kill on HPUX)
all free_defaults() on exit in mysql.cc;  Should fix problem with SSL
2002-08-24 02:08:10 +03:00
monty@hundin.mysql.fi
ac6e640c4d Fix for SSL and new my_getopt
Fix for syntax error bug in SET TRANSACTION ISOLATION
2002-08-09 16:47:16 +03:00
jani@rhols221.adsl.netsonic.fi
5434e99e5d Fixed a bug in mysql when running in non-interactive mode (batch) 2002-08-06 22:51:43 +03:00
jani@hynda.(none)
9bc030f68a Small fixes in mysql and myisamchk. 2002-08-05 17:08:27 +03:00
monty@mashka.mysql.fi
4233d3a3d4 merge 2002-07-23 20:39:36 +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
605d8de364 Fixed a bug in pager in mysql client 2002-07-16 17:19:10 +03:00
monty@hundin.mysql.fi
f87efa928b Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
monty@hundin.mysql.fi
6ccf4e50a2 Fixes for compiling distribution with MIT-threads 2002-06-20 23:26:39 +03:00
monty@mashka.mysql.fi
0e759036cc Added missing include file to sql_acl.cc (bug in last changeset) 2002-06-12 17:35:04 +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
monty@hundin.mysql.fi
f0b28da6f9 merge with 4.0 2002-06-03 12:59:31 +03:00
jani@dsl-jkl1657.dial.inet.fi
edc6dc48eb Fixed some spelling errors. 2002-06-01 11:46:06 +03:00
jani@dsl-jkl1657.dial.inet.fi
673f67f6d1 Fixed a bug in mysql client. 2002-05-31 15:43:21 +03:00
jani@dsl-jkl1657.dial.inet.fi
f587e98506 Fixed a bug in mysql client. 2002-05-31 12:34:47 +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
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
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
c4a2d3d5d6 Portability fixes
Fixed problem with --password in mysql
2002-05-22 21:07:23 +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
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@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
monty@hundin.mysql.fi
1f5f3612f3 Fixed syntax error in mysql.cc 2002-04-24 15:23:32 +03: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
jani@rhols221.adsl.netsonic.fi
9ec99388be Fixed a bug in mysql.cc 2002-04-16 11:39:03 +03:00