monty@mashka.mysql.fi
90bf074438
Merge with 4.0.11 tree to get latest bug fixes
2003-02-17 05:43:37 +02:00
monty@mashka.mysql.fi
6051b2f998
Fixed multi-table-delete for InnoDB tables
...
Novell patches
2003-02-17 02:14:37 +02:00
monty@mashka.mysql.fi
a533db746b
Patch for novell
...
Reverted wrong patch for mysqld_safe.sh
2003-02-16 22:50:00 +02:00
Sinisa@sinisa.nasamreza.org
f2a8927db7
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-02-15 16:06:58 +02:00
monty@mashka.mysql.fi
7d7a248d9e
Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1
2003-02-14 11:48:20 +02:00
monty@mashka.mysql.fi
acf8993439
Fixed problem when connecting to user without a password.
...
Fixed problem with LIKE and BINARY
2003-02-14 11:47:41 +02:00
Sinisa@sinisa.nasamreza.org
af2a07f9ae
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-02-13 22:48:38 +02:00
serg@serg.mysql.com
474d013696
Merge serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2003-02-13 17:12:52 +01:00
Sinisa@sinisa.nasamreza.org
c75fa953e3
merge
2003-02-13 15:16:00 +02:00
monty@mashka.mysql.fi
e327393e9d
Fixed a lot of wrong memory references as reported by valgrind
...
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
2003-02-12 21:55:37 +02:00
serg@serg.mysql.com
6bb42870e0
do not ignore --allow-keywords if SHOW CREATE TABLE is used
2003-02-12 20:46:40 +01:00
monty@mashka.mysql.fi
60556efaca
Update lengths for fields in MYSQL_FIELD
2003-02-08 01:00:35 +02:00
Sinisa@sinisa.nasamreza.org
e787b028d5
a fix for mysql client
2003-02-06 16:03:13 +02:00
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02:00
monty@mashka.mysql.fi
a9ee051a4d
Fixed core dump bug in 'mysql' when using \p in prompt on Windows.
...
Fixed error when mysql_unix_port pointed to const string (not uncommon on windows)
2003-02-02 05:13:09 +02:00
bar@bar.mysql.r18.ru
37fdb93d7c
Gluh asked me to do it
2003-01-31 11:41:39 +04:00
bar@bar.mysql.r18.ru
9a837a873e
Always use USE_STRCOLL code
2003-01-30 11:15:14 +04:00
bar@bar.mysql.r18.ru
735399a850
Move latin1 into a separarte file
2003-01-29 17:31:20 +04:00
jani@hynda.(none)
6afebb313e
Fixed a bug in --auto-repair.
2003-01-28 23:29:59 +02:00
monty@mashka.mysql.fi
689578a099
Fixes for Netware
...
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
monty@mashka.mysql.fi
1bdd1d0626
Merge with 3.23.55
2003-01-25 15:31:07 +02:00
monty@mashka.mysql.fi
cd02b19f12
Fix bug in --relative (-r)
2003-01-24 14:59:36 +02:00
monty@mashka.mysql.fi
7436e9ec97
Merge
2003-01-21 21:28:51 +02:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
hf@deer.mysql.r18.ru
389680e04e
Conflicts resolving
2003-01-20 18:59:45 +04:00
monty@mashka.mysql.fi
46ec0c5d33
Removed compiler warnings
2003-01-18 21:55:01 +02:00
monty@mashka.mysql.fi
529e4a76c5
Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1
2003-01-18 19:31:37 +02:00
vva@eagle.mysql.r18.ru
69b722d7d9
changes for readline/libedit configuration
2003-01-18 20:28:48 +04:00
monty@mashka.mysql.fi
8acc22296c
Change client_flag to unsigned long (16 -> 32 bits) to handle more options.
...
Don't use new password format if mysql.user has old format
tables_priv was not reset on FLUSH PRIVILEGES if tables_priv was empty
Portability fixes for Windows
2003-01-18 16:39:21 +02:00
monty@mashka.mysql.fi
76f146a175
Merge with 4.0.9
2003-01-18 03:13:37 +02:00
vva@eagle.mysql.r18.ru
1b25ee3579
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/4.1
...
into eagle.mysql.r18.ru:/home/vva/work/BINLOG_LOADDATA/4.1.clear
2003-01-17 21:59:03 +04:00
vva@eagle.mysql.r18.ru
4b5a313c1a
new option --local-load in mysqlbinlog
2003-01-17 21:52:56 +04:00
monty@mashka.mysql.fi
f4b950df96
Merge with 3.23
2003-01-16 20:47:46 +02:00
jani@rhols221.adsl.netsonic.fi
e79ed81d11
Added --compatible mode to mysqldump.
2003-01-16 05:35:59 +02:00
hf@deer.mysql.r18.ru
96089e2b3a
resolving conflicts
2003-01-15 13:15:35 +04:00
monty@mashka.mysql.fi
f8e660d88c
merge with 4.0.9
...
To get bug fixes for TCP/IP connections, FORCE INDEX and OPTIMIZE TABLE with NULL keys
2003-01-09 03:55:26 +02:00
monty@mashka.mysql.fi
ee59eb2418
Portability fixes
...
Fixed test suite for HPUX 10.20 and MacOSX
2003-01-07 16:53:10 +02:00
monty@mashka.mysql.fi
1f6ecc0cd3
Changed mysql-test to print warnings for not existing table to DROP TABLE
...
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names.
changed store_warning() -> push_warning_print()
2003-01-06 01:48:59 +02:00
monty@mashka.mysql.fi
f9772317ee
merge
2003-01-04 15:40:55 +02:00
monty@mashka.mysql.fi
6d6f051178
Added support for DROP TEMPORARY TABLE
...
Removed mysql_warnings() API function.
Post merge fixes.
2003-01-04 15:37:20 +02:00
miguel@hegel.br
f50abc4467
Fix warnings and error VC++ compiler
2003-01-04 01:19:17 -02:00
monty@mashka.mysql.fi
a41886a096
Added O_BINARY flag to all my_fopen() calls.
...
(To make the current tests results work on windows)
2002-12-27 23:29:27 +02:00
salle@banica.(none)
a2e82f5ff7
Removed ^M
...
Reported by Georg Richter as it brokes his build with mipspro
2002-12-27 18:13:32 +02:00
jani@dsl-kpogw4gb5.dial.inet.fi
ee8fa226e5
Changed get_arg() so that it can be used to fetch more than
...
just one argument from command line.
Fixed a bug in interactive 'connect' command, which earlier
couldn't take quoted arguments.
How-to-repeat:
mysql> connect `stupid db` localhost
2002-12-25 23:57:01 +02:00
jani@dsl-kpogw4gb5.dial.inet.fi
a684fa70ed
mysql multiline comment, by Sergey Gluhov.
2002-12-24 00:53:07 +02:00
hf@deer.mysql.r18.ru
e3b3b68307
Big purge about embedded library (scrum)
2002-12-16 17:33:29 +04:00
hf@deer.mysql.r18.ru
3517febe97
Resolving merge conflicts
2002-12-12 12:49:56 +04:00
jani@rhols221.adsl.netsonic.fi
8f75c90df1
Fixed a bug in mysql 'use' command. 'use' can now take quoted arguments.
2002-12-11 16:03:50 +02:00
monty@mashka.mysql.fi
f1d35b29bc
merge fix
2002-12-06 21:15:05 +02:00
monty@mashka.mysql.fi
859b688476
Merge with 4.0.6
2002-12-05 19:38:42 +02:00
peter@mysql.com
3ee8bee22f
Basically minor code optimizations and cleanups
2002-12-05 03:55:29 +03:00
serg@serg.mysql.com
a8476407a5
.del-errmsg.c~444b5d4031149217:
...
Delete: client/errmsg.c
2002-12-05 00:33:18 +01:00
peter@mysql.com
1d920529a8
SCRAM Remove spaces from most changed files.
...
This alters not only my code so it looks like I'm not only one adding the spaces.
2002-12-05 01:14:51 +03:00
peter@mysql.com
54ff0efe7c
SCRUM: Secure auth
...
Implement mysql_change_user
Get rid of double user search at authentication
Some cleanups
2002-11-30 16:31:58 +03:00
peter@mysql.com
08f51eaedd
Merging....
2002-11-29 22:03:14 +03:00
peter@mysql.com
7e6977808f
Correct bug which exposed itself in rpl000017
...
Commit for merge
2002-11-29 21:34:13 +03:00
hf@genie.(none)
5e8b27c0d3
Pull conflicts resolutions
2002-11-29 12:35:48 +04:00
venu@myvenu.com
5aff325ce3
Get rid of pbool from my_list.h; and avoid using the my_global.h for clients
2002-11-28 09:56:26 -08:00
venu@myvenu.com
70abdf3a51
Merge myvenu.com:/home/venu/bk/src-4.1
...
into myvenu.com:/home/venu/work/sql/dev-4.1
2002-11-26 18:54:17 -08:00
venu@myvenu.com
e01a6c832d
select_test.c, insert_test.c:
...
Added my_global.h to compile after my_list.h is added to mysql.h
sql_prepare.cc:
Handle close stmt from client
Minor fixups to make SET variable=? to work
sql_parse.cc:
Added missed COM_CLOSE_STMT
mysql_priv.h:
Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
libmysql.c:
Clean all open stmts during mysql_close() implicitly
2002-11-26 18:51:38 -08:00
serg@serg.mysql.com
f79311f533
temporary fix to make mysql.cc to compile --with-readline
...
(thought it won't compile --without-readline)
preper fix is to follow...
2002-11-26 15:33:30 +01:00
serg@serg.mysql.com
eb49d011e6
mysql.cc has to support older readline to compile on FreeBSD :((
2002-11-26 14:03:25 +01:00
serg@serg.mysql.com
b385eb4a05
removed redundant -I include-dirs
2002-11-26 14:01:08 +01:00
vva@genie.(none)
82edccb9ec
Merge genie.(none):/home/vva/work/mysql.orig/clear/4.1
...
into genie.(none):/home/vva/work/new_readline/4.1
2002-11-25 13:45:00 +04:00
peter@mysql.com
925155cf5a
Merge....
2002-11-24 17:26:26 +03:00
peter@mysql.com
35ccfd0b42
SCRUM: Main change for Secure connection handling. Still needs some more coding. Commit
...
done for merge with newer version of code.
2002-11-24 17:07:53 +03:00
monty@mashka.mysql.fi
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
vva@genie.(none)
5aabbf55a9
upgrade readline to version 4.3
2002-11-19 18:26:53 +04:00
vva@genie.(none)
c9c7e4d503
Merge vvagin@work.mysql.com:/home/bk/mysql-4.0
...
into genie.(none):/home/vva/work/mysqldump_xml/4.0
2002-11-18 20:53:07 +04:00
vva@genie.(none)
c50ecbb1d0
fix xml-output of mysqldump
2002-11-18 20:50:42 +04:00
bar@bar.mysql.r18.ru
72f3671303
Copy from /sql directory
2002-11-15 13:58:24 +04:00
wax@mysql.com
e91d1b2cbe
Add shared memory protocol and option --protocol
2002-11-15 00:16:30 +05:00
monty@mashka.mysql.fi
aa67a79632
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2002-11-14 12:35:33 +02:00
monty@mashka.mysql.fi
7a70332836
Portability fix when using -DBIG_TABLES
2002-11-14 12:21:36 +02:00
serg@serg.mysql.com
31fa2c5084
merged
2002-11-13 23:38:19 +01:00
salle@geopard.(none)
392cbf9eac
Fixed mysqlcheck so it can process table names with dashes.
...
Quote all table names with backticks.
2002-11-12 16:09:33 +02:00
bar@bar.mysql.r18.ru
9567611577
Fix syntax to be more clean:
...
SHOW CREATE DATABASE [WITH IF NOT EXISTS] dbname
2002-11-10 14:45:21 +04:00
bar@bar.mysql.r18.ru
95ffd436a6
Fixes for fault about String::copy()
2002-11-10 14:05:17 +04:00
serg@serg.mysql.com
dfa90af1e0
--use-frm option to mysqlcheck
2002-11-08 20:57:36 +01:00
Sinisa@sinisa.nasamreza.org
f200c567bf
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-11-08 17:05:30 +02:00
Sinisa@sinisa.nasamreza.org
d54bb36df7
Changes that will enable proper wildcarding of databases, plus
...
proper escaping of databases with '_' in their name.
More explanations in the manual.
2002-11-08 17:02:33 +02:00
monty@hundin.mysql.fi
aa4e165808
Portability fix extern "C" static -> extern "C"
2002-11-07 12:49:02 +02:00
hf@genie.(none)
25bd1e9a37
Merged by hands
2002-11-07 12:20:08 +04:00
monty@butch.
a2bdf9265f
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
2002-11-07 03:54:00 +02:00
peter@mysql.com
21066bde1b
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
...
into mysql.com:/home/pz/mysql/mysql-4.1
2002-11-06 12:51:07 +03:00
bar@bar.mysql.r18.ru
8229d282f7
Extensions to support this:
...
SHOW CREATE DATABASE [IF NOT EXISTS] dbname
Version dependant parts are displayed in appropriative comments:
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ucs` /*!40100 DEFAULT CHARACTER SET ucs2*/
2002-11-06 12:01:38 +04:00
peter@mysql.com
8bcace7043
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
...
into mysql.com:/home/pz/mysql/mysql-4.1
2002-11-05 21:31:03 +03:00
bar@bar.mysql.r18.ru
cebfa22c01
CREATE DATABASE now tries to execute SHOW CREATE DATABASE first
2002-11-05 15:10:13 +04:00
monty@mashka.mysql.fi
5343d4c969
Added --skip-safemalloc to mysqltest
...
Added bug fix from 3.23 for AIX 4.3.3 and gcc 3.x
Small change in EXCHANGE output
Propagate open-files-limit from mysqld_safe -> mysqld
Fixed speed bug in GROUP BY
Added quotes around database name in CREATE DATABASE db_name (for binary log)
2002-10-29 22:56:30 +02:00
peter@mysql.com
bdca1d10a0
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
...
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-29 10:36:43 +03:00
vva@genie.(none)
9adf688be6
add help command on server side
2002-10-28 17:44:19 +04:00
peter@mysql.com
1545cbccd3
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
...
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-27 13:13:31 +03:00
serg@serg.mysql.com
1a1cafce63
merged
2002-10-25 22:07:04 +00:00
peter@mysql.com
4825e3264d
Merge to update to recent tree version
2002-10-20 00:09:11 +04:00
peter@mysql.com
37245fd17f
More work on secure connection protocol. commited in order to do the sync with new large pushed
...
bunch.
2002-10-19 23:18:31 +04:00
hf@genie.(none)
8a88791fb1
Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1
...
into genie.(none):/home/hf/work/mysql-4.1
2002-10-18 15:55:21 +05:00
jani@rhols221.adsl.netsonic.fi
f11f48a144
Fixed three bugs in mysqlcheck and changed documentation for mysqld_multi
2002-10-17 19:34:02 +03: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
hf@genie.(none)
2be6f27219
Changes in order to trim embedded library code
2002-10-13 14:23:55 +05:00
peter@mysql.com
5e873b2075
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
...
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-09 22:02:43 +04:00
bar@bar.mysql.r18.ru
50c391538a
my_sortcmp -> my_strnncoll
2002-10-09 16:33:35 +05:00
peter@mysql.com
9731dbc3fd
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
...
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-09 14:50:19 +04:00
bar@bar.mysql.r18.ru
954a47b95a
Simple charsets now have strncoll() field too
2002-10-09 15:40:57 +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
peter@mysql.com
d21402052c
One more commit to do the merge of new 4.1 tree
2002-10-06 13:42:16 +04: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
lenz@mysql.com
019b5ab7b4
- backported gcc 3.0 linking fix from 4.0
...
- some cosmetical fixups (typos, comments)
2002-09-24 22:24:30 +02:00
monty@mashka.mysql.fi
efaaf0b4b8
Updated VC++ project files for 4.0.4
...
Only write short usage if one starts mysqldump without any options
Added query cache on windows
Added error message if one can't read privilege tables
2002-09-24 17:11:59 +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
ce4b584a85
Increased max possible max_allowed_packet to 1G
...
Small optimization to not do external locking of temporary MyISAM tables.
2002-09-19 17:49:41 +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
jcole@mugatu.spaceapes.com
969c6b876e
mysqlbinlog.cc:
...
a few changes to test resolving
2002-09-14 11:26:40 -05:00
jcole@mugatu.spaceapes.com
1f1603ab4a
mysqlbinlog.cc:
...
fixed typo
2002-09-14 11:12:02 -05:00
monty@mashka.mysql.fi
f3a186c905
Portability fixes.
...
Improve mysql-test to be more robust.
Fix that GRANT doesn't delete SSL options
Change innobase_flush_log_at_trx_commit to uint.
Don't rotate logs if we read a rotate log entry from the master.
2002-09-11 06:40:08 +03:00
monty@mashka.mysql.fi
0281a6b160
Fixed searching after ssl directories.
...
Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
Changed fn_ext to point at first '.' after directory.
FLUSH LOGS removed numerical extension for all future update logs.
Fixed the mysqld --help reports right values for --datadir and --bind-address
--log-binary=a.b.c now properly strips of .b.c
Fix that one can DROP UDF functions that was not loaded at startup
Made AND optional in REQUIRE
Added REQUIRE NONE
2002-09-05 16:17:08 +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
serg@serg.mysql.com
05f57e20b6
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-31 14:23:33 +00: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
nick@mysql.com
89ea5ee620
Added sync_slave_with_master [connection].
...
Equivalent to:
save_master_pos; connection slave; sync_with_master;
2002-08-29 12:08:54 -06:00
serg@serg.mysql.com
ffd41ec7d2
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-28 17:55:44 +00: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
serg@serg.mysql.com
53844daac0
wrong help message corrected
2002-08-27 00:20:25 +00:00
monty@mashka.mysql.fi
04723cf74d
Give better error from reconnect()
...
Fixed hang in start_slave_threads() when thread dies quickly.
2002-08-24 05:44:16 +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
c7499a1039
Portabilityfix in mysqladmin.c
...
Fix when using --localstatedir
Cleaned up mysql.server
2002-08-23 02:48:52 +03:00
jani@rhols221.adsl.netsonic.fi
a6fac7c9fd
Fixed a bug in mysqladmin when it gave unneccessary warning
...
in shutdown operation.
2002-08-22 17:28:51 +03:00
monty@hundin.mysql.fi
8388548a26
Cleanup of waiting for pidfile in mysqladmin
2002-08-22 17:06:50 +03:00
jani@rhols221.adsl.netsonic.fi
ef0a24e0d6
Fixed a bug in mysqladmin shutdown when checking pid file status.
2002-08-22 02:37:42 +03:00
jani@rhols221.adsl.netsonic.fi
54f550a247
Fixed a bug in mysqladmin, when it could hang while waiting for
...
pid file to disappear, when MySQL was already re-started.
2002-08-22 02:22:10 +03:00
monty@hundin.mysql.fi
a5edb20042
Fixed timing problem with rpl000001 replication test.
...
Fixed configure problems with HPUX and openbsd
SHOW SLAVE STATUS returns empty set if slave is not initialized
SHOW MASTER STATUS returns empty set if binary logging is not enabled.
Fixed shutdown problem on Solaris.
2002-08-18 16:04:26 +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
monty@mashka.mysql.fi
1bb7665a9c
merge
2002-08-08 03:29:36 +03:00
monty@mashka.mysql.fi
2c4fa340cc
Lots of code fixes to the replication code (especially the binary logging and index log file handling)
...
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +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)
fc0d47240e
Added --count=N (-c) to mysqladmin
2002-08-05 18:37:43 +03:00
jani@hynda.(none)
9bc030f68a
Small fixes in mysql and myisamchk.
2002-08-05 17:08:27 +03:00
serg@sergbook.mysql.com
374b81f6e7
typo fixed
2002-08-05 09:00:38 +02:00
serg@sergbook.mysql.com
f619b64d82
typo in help message fixed (LFCR -> CRLF)
2002-08-04 14:37:32 +02: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
12f9623b62
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-20 23:29:22 +03:00
peter@linux.local
f3cc808a28
Merge linux.local:/data/mysql-4.0-root into linux.local:/data/mysql-4.0
2002-06-21 00:27:19 +04:00
monty@hundin.mysql.fi
6ccf4e50a2
Fixes for compiling distribution with MIT-threads
2002-06-20 23:26:39 +03:00
monty@hundin.mysql.fi
0d8e13979d
Made keyread (key scanning) a key specific attribute.
...
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +03:00
peter@linux.local
1e930341fd
Allow MySQL check to handle tables with spaces inside
2002-06-17 22:07:29 +04:00
peter@linux.local
f85a002c68
Merge
2002-06-14 15:24:22 +04:00
peter@linux.local
d505803728
This is just code style/minor optimizations cleanup changeset
2002-06-14 15:14:30 +04: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
peter@linux.local
89b161d05d
This changeset is mostly new version of previous commit modified according
...
to Monty's code style and optimization comments
2002-06-11 13:37:48 +04: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
fc8490a111
merge with 4.0 to get last fixes to last merge
2002-06-04 08:29:08 +03:00
monty@hundin.mysql.fi
4b1836ee36
Enable LOAD DATA LOCAL INFILE in mysql_test
...
Added syntax for column comments (for compability with 4.1)
Fix of ALTER TABLE RENAME
2002-06-04 00:40:27 +03:00
monty@hundin.mysql.fi
f0b28da6f9
merge with 4.0
2002-06-03 12:59:31 +03:00
monty@hundin.mysql.fi
44a631f1fc
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-02 17:05:08 +03:00
monty@hundin.mysql.fi
cde8c0edb7
Fixed bug in wait_for_relay_log_space()
...
Added checking of sem_init() in configure.
2002-06-02 17:04:16 +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
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
monty@tik.mysql.fi
6c2e453efa
Fixed quoting problem in mysqldump
2002-03-25 18:10:33 +02:00
jani@hynda.mysql.fi
e164a5d58a
Added --ignore-lines=# to mysqlimport.
2002-03-22 15:35:46 +02:00
monty@tik.mysql.fi
4317bd66ba
Merge
2002-03-22 06:58:07 +02:00
monty@hundin.mysql.fi
70099b2143
Fix for load data infile when no active database
...
Fix for Solaris and gethostbyname_r
2002-03-22 01:03:34 +02:00
monty@tik.mysql.fi
ee162d86a6
Quote names to SHOW CREATE for mysqldump
...
Fix thread-related bug when doing DROP TABLE
Fix bug in RENAME TABLE on windows
2002-03-21 23:06:48 +02:00
jcole@mugatu.spaceapes.com
1fde1da1a6
Added --prompt and `prompt'' command, add dynamic prompt support to
`mysql''.
2002-03-20 18:07:57 -06:00
jani@hynda.mysql.fi
ab1b6244d7
Fixed a bug in mysql.cc
2002-03-20 20:57:46 +02:00
jani@hynda.mysql.fi
45de80e538
Fixed a bug in mysqldump.
2002-03-20 20:49:21 +02:00
monty@hundin.mysql.fi
288f81ce07
Fix max buffer length
2002-03-15 22:01:45 +02:00
monty@hundin.mysql.fi
ff0504b005
merge
2002-03-15 21:33:36 +02:00
monty@tik.mysql.fi
63e106f00b
Decrease net_buffer_length to not get problems when running against mysqld with same max_allowed_packet
2002-03-15 18:13:51 +02:00
jcole@mugatu.spaceapes.com
acc123282e
Cleaned up mysql.cc a bit.
2002-03-15 04:16:27 -06:00
bar@gw.udmsearch.izhnet.ru
ea6fbd4c3f
Removed some default_charset_info
2002-03-14 22:10:56 +04:00
bar@gw.udmsearch.izhnet.ru
c60a29f0ee
Hash now supports several charsets
2002-03-14 21:44:42 +04:00
bar@gw.udmsearch.izhnet.ru
f8a5452877
use String->charset instead of default_charset_info
2002-03-14 20:52:48 +04:00
monty@hundin.mysql.fi
dcbe24157a
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-03-13 01:03:34 +02:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00
monty@hundin.mysql.fi
e6b9734e0a
merge
2002-03-12 12:21:51 +02:00
monty@hundin.mysql.fi
a01775c5eb
Added help for --local-infile
...
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
2002-03-12 11:38:22 +02:00
jcole@mugatu.spaceapes.com
3024c35be7
Added --no-beep option to mysql.
2002-03-11 14:35:59 -06:00
monty@hundin.mysql.fi
e9ba8d58fe
merge
2002-03-06 23:41:18 +02:00
monty@hundin.mysql.fi
fa38c84be7
merge
2002-03-06 19:53:31 +02:00
monty@tik.mysql.fi
9d9bcf25e7
Fix sorting of NULL values (Should always be first)
...
Fix problem with HAVING and MAX() IS NOT NULL
2002-03-02 09:51:24 +02:00
jani@hynda.mysql.fi
78dca2de82
Fixed too bugs in MySQL client 'mysql', interactive command 'tee'.
2002-02-15 02:34:48 +02:00
monty@hundin.mysql.fi
e070e9a01f
merge with 3.23.49
2002-02-14 18:58:24 +02:00
monty@hundin.mysql.fi
3c18798a7f
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
2002-02-13 22:01:42 +02:00
monty@tik.mysql.fi
1f9b1e1915
Made LOAD DATA LOCAL INFILE more secure
2002-02-13 21:53:26 +02:00
jorge@linux.jorge.mysql.com
af45fc0526
mysqldump.c:
...
Changed C++ style comments to ANSI C style.
2002-02-12 08:24:40 -06:00
sasha@mysql.sashanet.com
8ef07c4ffa
updated test suite to be able to run 3.23 master and 4.0 slave
...
got LOAD DATA INFILE replication from 3.23 master to 4.0 slave to work
for some reason query_cache now fails - will push anyway and document the
failure if I can repeat it.
2002-02-09 13:58:53 -07:00
monty@hundin.mysql.fi
d713fee16b
Update to autoconf 2.52
...
Fix of InnoDB variables in SHOW VARIABLES
Fix for ALTER TABLE and InnoDB
2002-02-07 21:34:35 +02:00
monty@hundin.mysql.fi
20530c307b
merge
2002-01-26 01:24:38 +02:00