monty@hundin.mysql.fi
e070e9a01f
merge with 3.23.49
2002-02-14 18:58:24 +02:00
monty@tik.mysql.fi
2f3cfff0a2
Added --user=userid to mysqld
...
Fix for ctypes on windows
Cleanup max_queries_per_hour
2002-02-13 22:37:19 +02:00
monty@tik.mysql.fi
1f9b1e1915
Made LOAD DATA LOCAL INFILE more secure
2002-02-13 21:53:26 +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
sasha@mysql.sashanet.com
65989dacb5
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-01-31 11:04:49 -07:00
sasha@mysql.sashanet.com
cef13d5b8e
temporary commit to pull Monty's changes
2002-01-31 11:02:11 -07: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
monty@hundin.mysql.fi
be46289855
New error messages
...
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +02:00
sasha@mysql.sashanet.com
7275dcef35
misc replication bugfixes including some needed modifications in IO_CACHE
...
likely() and unlikely() branch prediction compiler hint macros
clean-up of comments
2002-01-26 22:26:24 -07: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
sasha@mysql.sashanet.com
171948ba86
more predicatable slave behaviour with wait_for_slave_stop in mysqltest
...
fixed a couple of bugs with SEQ_READ_APPEND cache
rpl000016 still has non-deterministic result, but I am going to commit and
push since what I have is now better than what is in the main repository
2002-01-24 22:49:47 -07:00
serg@serg.mysql.com
ec0f506a82
Framework to simplify memory leak tracing
2002-01-22 15:59:32 +00:00
sasha@mysql.sashanet.com
684f13ef4c
Ugly merge! But I am not done yet - there are a number of things I need to fix
...
before I can push
2002-01-19 22:46:25 -07:00
sasha@mysql.sashanet.com
56129ce634
Here comes a nasty patch, although I am not ready to push it yet. I will
...
first pull, merge,test, and get it to work.
The main change is the new replication code - now we have two slave threads
SQL thread and I/O thread. I have also re-written a lot of the code to
prepare for multi-master implementation.
I also documented IO_CACHE quite extensively and to some extend, THD class.
2002-01-19 19:16:52 -07:00
monty@hundin.mysql.fi
df5f8c18eb
Move HA_EXTRA_NO_READCHECK to ha_open
...
Fixed bug in multi-table-delete
2002-01-16 23:02:26 +02:00
monty@hundin.mysql.fi
4d10a0cb7e
Add support for NULL=NULL in keys (Used in GROUP BY optimization)
...
Add ISAM to Windows version
Fix of test results
Fixes for NULL keys in HEAP tables.
2002-01-16 00:42:52 +02:00
monty@tik.mysql.fi
7dd4eb71fe
Added support of null keys in HEAP tables
...
Added ORDER BY optimization
2002-01-12 15:42:54 +02:00
monty@hundin.mysql.fi
ff17389116
Fix for FLUSH QUERY CACHE
...
Fix for new bug in CREATE TABLE when sorting keys.
2002-01-05 22:51:42 +02:00
monty@hundin.mysql.fi
4b877e0088
Added macros for nice TIMESPEC usage.
...
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
monty@hundin.mysql.fi
cb8bb9a84c
Backport of mysqldump from 4.0
2002-01-02 13:50:31 +02:00
monty@hundin.mysql.fi
ac8155cce1
Portability fixes
2001-12-27 13:31:10 +02:00
monty@hundin.mysql.fi
9e1ed2e4dc
Fixed access privilege bug in query cache.
...
Change tests to use database 'mysqltest' instead of 'foo'
Add option to not print access denied messages to check_table_access()
2001-12-22 15:13:31 +02:00
monty@hundin.mysql.fi
55a2ab6e7e
Cleanup of alarm macros.
...
Fixed data corruption bug in query cache.
Made queries be dependent of the database in use.
2001-12-21 07:00:58 +02:00
monty@hundin.mysql.fi
0eb46e4256
Fix insert delated + query cache.
...
Fix pthread_mutex_trylock on HPUX (needed for query cache).
2001-12-20 06:14:11 +02:00
monty@hundin.mysql.fi
cb754eb5aa
Fix after merge
2001-12-17 23:24:51 +02:00
monty@hundin.mysql.fi
1904d7a88d
Portability fixes
2001-12-17 15:00:14 +02:00
monty@hundin.mysql.fi
4dbd9e061c
Lots of portability fixes.
...
Fixed shutdown on HPUX.
Fixed bug in query cache.
2001-12-17 03:02:58 +02:00
serg@serg.mysql.com
fc3e066f36
freebsd fix for openssl
...
horrible bug fixed
2001-12-15 21:39:26 +01:00
monty@hundin.mysql.fi
836f1608f7
Merge with 3.23.47
2001-12-15 05:12:21 +02:00
sasha@mysql.sashanet.com
0d67738e20
misc cleanup
2001-12-13 17:21:04 -07:00
monty@hundin.mysql.fi
1d3e058c4b
Added FLUSH DES_KEY_FILE.
...
New HEX() function.
Final (?) cleanup of des_encrypt() / des_decrypt().
Added missing files to Makefiles.
2001-12-13 15:53:18 +02:00
sasha@mysql.sashanet.com
f7acf09d9c
slave-skip-errors
...
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
to have it sit in 3.23 tree for now since it will eventually be backported
to 3.23 anyway
2001-12-12 18:55:33 -07:00
monty@hundin.mysql.fi
6b02f13cf3
Removed compiler warnings.
...
Added new operators to be used with gcc 3.0.x
Update of query cache code.
Added semaphores for Windows (not yet in use)
Added pthread_mutex_trylock for windows.
2001-12-10 00:08:24 +02:00
monty@hundin.mysql.fi
b658662ae4
Update copyright
...
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
4c17825acd
Update of query cache code
2001-12-06 01:05:30 +02:00
monty@hundin.mysql.fi
1de4fff5ba
Update of query cache code.
...
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +02:00
monty@hundin.mysql.fi
1d26537da5
Query cache.
...
Remove some warnings
2001-12-02 14:34:01 +02:00
serg@serg.mysql.com
49b6f02dbe
Merge
2001-11-28 18:01:50 +01:00
serg@serg.mysql.com
4a5ca1073b
boolean fulltext search without an index
2001-11-28 17:55:45 +01:00
monty@bitch.mysql.fi
d0ccff5090
New improved IO_CACHE
2001-11-28 02:55:52 +02:00
serg@serg.mysql.com
59f3a95834
ft_boolean_syntax variable
2001-11-22 19:35:35 +01:00
sasha@mysql.sashanet.com
a56c72a214
fixed memory leak in replication
...
fixed bugs in new IO_CACHE code so that the old calls work
fixed shutdown bug
clean-up of mysql-test-run
2001-11-08 22:27:55 -07:00
sasha@mysql.sashanet.com
2593a7cb33
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-07 16:53:11 -07:00
sasha@mysql.sashanet.com
c0e55b9d16
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-07 16:27:30 -07:00
sasha@mysql.sashanet.com
cc95bc5765
manager clean-up ( added pid-file and kill in mysql-test-run when things go wrong)
...
fixes for IO_CACHE
need to pull Monty's fixes - this is not final, will not be pushed
2001-11-07 16:17:40 -07:00
monty@hundin.mysql.fi
9285b745d6
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-11-07 00:14:43 +02:00
monty@hundin.mysql.fi
4c60b41954
Portability fix
...
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02:00
tonu@volk.internalnet
1dd8fd5941
Merge stuff
2001-11-06 23:00:02 +02:00
serg@serg.mysql.com
bfc6a29df6
cleanup
2001-11-06 19:30:19 +01:00
serg@serg.mysql.com
e3849552b1
Merge
2001-11-06 16:43:47 +01:00
serg@serg.mysql.com
1f5c997667
ft boolean search by table scan; queue_fix()
2001-11-06 16:17:31 +01:00
tonu@volk.internalnet
eac7e9f237
Merge work.mysql.com:/home/bk/mysql-4.0
...
into volk.internalnet:/home/tonu/mysql-4.0
2001-11-05 11:11:26 +02:00
tonu@volk.internalnet
c9c06f555d
Another typo fix. Thanks to Bejamin Pflugmann
2001-11-05 09:33:05 +02:00
monty@hundin.mysql.fi
96fc8a7de6
Make ft_xxx variables ulong to not break mysqld.cc init of variables.
...
mysqltest: replace_result now also affects error messages
2001-11-05 03:43:00 +02:00
monty@hundin.mysql.fi
3afb157ca2
Fixes up things after merge from 3.23.44
...
Portability fixes.
Don't delete temporary tables on FLUSH tables.
2001-11-05 01:04:08 +02:00
monty@hundin.mysql.fi
fd0780493d
merge with 3.23.44
2001-11-04 16:14:09 +02:00
sasha@mysql.sashanet.com
4f106fe87e
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-03 16:55:39 -07:00
sasha@mysql.sashanet.com
b00eee622e
more work on IO_CACHE
...
portability fixes for systems with broken syscalls that do not interrupt on
a signal
temporary commit - will not be pushed, need to sync up
2001-11-03 16:54:00 -07:00
monty@hundin.mysql.fi
2ac4ad6984
merge
2001-11-03 22:28:16 +02:00
monty@hundin.mysql.fi
ccce9d031f
Added STDCALL to mysql_sever and mysql_thread variables
...
Merged error messages with 3.23.44
Fixed bug with DATA DIRECTORY on windows
2001-11-03 21:33:11 +02:00
monty@hundin.mysql.fi
8cd4c2358d
Fix that mysqladmin shutdown can be interrupted with ^C
...
Fixed bug with BLOB keys in BDB tables
Fixed problem with MERGE tables on OS with 32 bit files
Fixed that TIME_TO_SEC() works with negative times
2001-11-03 15:18:09 +02:00
tim@black.box
2050505fb4
Merge work.mysql.com:/home/bk/mysql-4.0 into black.box:/u/home/tim/my/4
2001-11-02 09:57:22 -05:00
tonu@volk.internalnet
c64013fd1b
Removed unused code in VIO
2001-11-02 15:34:17 +02:00
tim@black.box
49b99afcbe
Portability fixes for AIX 4.x
2001-11-01 20:51:23 -05:00
tonu@volk.internalnet
24805fc748
SSL fixes.
2001-11-01 16:59:00 +02:00
monty@hundin.mysql.fi
5a9ce774dc
Update for OS2 (patch from Yuri Dario).
...
Use LONG_TIMEOUT (one year) instead of ~0 for long timeouts
Fixed error messages.
Fixed problem with const propagation when comparing columns of different types
2001-10-31 03:22:31 +02:00
monty@donna.mysql.fi
7fcbd7e3da
Merge
2001-10-30 17:38:44 +02:00
sasha@mysql.sashanet.com
17e6f08527
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-10-23 13:28:47 -06:00
sasha@mysql.sashanet.com
be4dfd21dd
cleanup
...
removal of duplicate code in mf_iocache.cc
work on failsafe replication
work on SEQ_READ_APPEND io cache
2001-10-23 13:28:03 -06:00
serg@serg.mysql.com
cab9ea3462
merged
2001-10-23 11:20:01 +02:00
serg@serg.mysql.com
6f669e6bf8
HA_NO_FULLTEXT_KEY and an appropriate error message
2001-10-23 10:52:51 +02:00
serg@serg.mysql.com
abbb522024
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-10-22 11:57:48 +02:00
serg@serg.mysql.com
392315df0c
I have to commit to be able to pull
2001-10-22 11:52:17 +02:00
monty@hundin.mysql.fi
0bfec316ce
Don't do signal() on windows (Causes instability problems)
...
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
2001-10-17 19:39:39 +03:00
sasha@mysql.sashanet.com
415df59f86
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-10-13 09:29:32 -06:00
sasha@mysql.sashanet.com
2d3f96b483
changed manager to use my_net_*
...
fixed bug in master - unregister slaves when they disconnect
2001-10-12 09:37:25 -06:00
serg@serg.mysql.com
069d313fd9
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-10-10 18:22:14 +02:00
tim@black.box
c0cd0f484a
Add --without-isam configure switch.
...
Portability fix for mysqlmanager.
2001-10-09 18:11:44 -04:00
serg@serg.mysql.com
3911c81024
merged
2001-10-09 16:01:06 +02:00
serg@serg.mysql.com
9ec4ca9c4d
get rid of comp() macro - CMP is already in place
2001-10-09 15:23:44 +02:00
serg@serg.mysql.com
3d3ef6528a
Boolean search passes _some_ tests
2001-10-09 14:53:54 +02:00
monty@hundin.mysql.fi
d5fe1db868
One should not only have to include my_net.h to work with sockets.
...
This wrapper noew will include all the necessary, system specific files,
which makes all normal source files much easier to write and maintain.
Portability fixes.
2001-10-09 03:35:29 +03:00
monty@hundin.mysql.fi
196f620e90
Portability fixes + a couple of bug fixes introduced by last push.
2001-10-08 23:20:19 +03:00
monty@hundin.mysql.fi
46a660f450
Portability fix
2001-10-08 07:52:53 +03:00
monty@hundin.mysql.fi
2f603156ed
Cleanup after last merge
2001-10-08 07:24:04 +03:00
monty@hundin.mysql.fi
938a8dc2ef
merge
2001-10-08 05:36:35 +03:00
monty@hundin.mysql.fi
88aff4bf85
Updated manual about embedded version.
...
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version. All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
sasha@mysql.sashanet.com
a71f818aa2
Merge
2001-10-04 15:46:04 -06:00
monty@hundin.mysql.fi
e801235019
New script: explain_log.sh
...
Portability fixes.
Handle cleanup when we get an error before the message file is read.
Fix bug in multi-table delete
2001-10-04 21:52:41 +03:00
monty@hundin.mysql.fi
62c8014171
Fixed some build problems.
...
Fix that compressed packets and normal packets looks indentical before calling net_real_write()
(Needed for query cache)
Optimize IS NULL handling
2001-10-04 02:44:18 +03:00
sasha@mysql.sashanet.com
c0f87c836a
merged
2001-10-03 14:21:16 -06:00
monty@hundin.mysql.fi
880026ccf6
Cleaned up SSL documentation
...
Fixes for embedded server
Made key_cache more configurable
Fixed that one can change key blocksize in MyISAM
A lot of optimizations to make MyISAM slightly faster
2001-10-02 05:53:00 +03:00
monty@hundin.mysql.fi
34c3484fae
Fixes to get openssl code to compile
2001-09-30 05:47:34 +03:00
tonu@volk.internalnet
a16796c8ac
Merge work.mysql.com:/home/bk/mysql-4.0
...
into volk.internalnet:/home/tonu/mysql-4.0
2001-09-30 10:47:32 +08:00
tonu@volk.internalnet
5658ff8237
SSL compiles and works as far as can see. Continue testing..
2001-09-30 10:46:20 +08:00
monty@hundin.mysql.fi
384ae2eff0
Fixed that one can always get a name for a compiled characterset
2001-09-28 07:21:24 +03:00
monty@tik.mysql.fi
e05bf277d6
Final fixes for INSERT into MERGE tables.
...
Move MAX_BLOB_WIDTH to be global
Added full support for unsigned BIGINT
Fixed spelling errors
2001-09-27 21:45:48 +03:00
serg@serg.mysql.com
5a9a3e91e7
get rid of ft_search. Now there're two sets of ft_ functions, ft_nlq_* and ft_boolean_*
2001-09-25 20:31:02 +02:00
sasha@mysql.sashanet.com
043deed839
fixed const value clash for MY_FULL_IO
2001-09-22 22:52:48 -06:00
sasha@mysql.sashanet.com
eccda8f86d
merged
2001-09-22 21:51:17 -06:00
sasha@mysql.sashanet.com
1a0a77389f
added mysqlmanager-pwgen
...
added set_exec_stdout and set_exec_stderr to mysqlmanager to be able
to redirect stdout and stderr
added support for MY_FULL_IO to my_read, so we can tell it to read
a number of bytes in as many chunks as it takes instead of one try
2001-09-22 21:47:57 -06:00
monty@hundin.mysql.fi
e390a99573
Added support of INSERT to MERGE tables
...
Fixes for embedded libary and openssl
2001-09-22 17:40:57 +03:00
serg@serg.mysql.com
57e4c8ef3b
Initial checkin of the new boolean fulltext search code
2001-09-21 18:38:17 +02:00
sasha@mysql.sashanet.com
545a2af56a
merged
2001-09-19 14:39:11 -06:00
sasha@mysql.sashanet.com
2038a46e92
fixes for MYSQL manager
2001-09-19 14:30:43 -06:00
monty@work.mysql.com
55485f5c2d
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-09-18 04:17:52 +02:00
monty@hundin.mysql.fi
cd78a8be66
Fix for LOAD DATA FROM MASTER when using tables with checksum
...
Fixed some wrong test cases
2001-09-18 04:58:15 +03:00
monty@work.mysql.com
eb9cbe2cba
merge
2001-09-17 23:26:00 +02:00
monty@hundin.mysql.fi
56cc14ab4c
Added unique error for DEADLOCK
...
Include missing man pages into binary distribution
2001-09-17 23:43:53 +03:00
monty@hundin.mysql.fi
295107457f
Fixed bug with SELECT * ... UNION
2001-09-17 15:40:03 +03:00
monty@hundin.mysql.fi
c55cde7c1c
Added my_global.h
2001-09-15 05:12:46 +03:00
monty@hundin.mysql.fi
52b83ea218
Fixed bug in UNION
...
Fixed replication bug in load_master_data
2001-09-14 19:50:56 +03:00
monty@hundin.mysql.fi
7cadc6e711
Changed to use my_global.h
...
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
2001-09-14 02:54:33 +03:00
monty@work.mysql.com
18474d8419
Merge with 3.23.42
2001-09-13 09:52:35 +02:00
monty@hundin.mysql.fi
7a19987805
OS2 patch
2001-09-12 23:53:31 +03:00
monty@hundin.mysql.fi
e24bdfa8bb
More debug info
...
Fix DBUG_ASSERT()
Optimization for BDB tables
Fix for BDB under Win98
2001-09-08 11:47:34 +03:00
monty@tik.mysql.fi
4f4e9e77ae
Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql
2001-09-04 16:21:53 +03:00
monty@tik.mysql.fi
e108cc775d
Portability fix
2001-09-04 16:17:31 +03:00
monty@work.mysql.com
81006dd227
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-09-04 01:04:32 +02:00
monty@hundin.mysql.fi
0b2af6bdfd
Ensure that libmysqlclient doesn't use raid
...
Fix problem with MyISAM and rows of length 65517-65520
2001-09-04 01:25:34 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
tonu@x153.internalnet
102cabfe4a
Fixed compilation problems when HAVE_OPENSSL is not defined
2001-09-01 23:29:58 +08:00
monty@hundin.mysql.fi
7f4aee1c90
Make killing of threads safer
2001-09-01 10:38:16 +03:00
monty@hundin.mysql.fi
6000cd213a
Portability fixes
2001-08-30 10:51:36 +03:00
monty@hundin.mysql.fi
3fb423fe39
Fix for OS2
2001-08-30 01:22:02 +03:00
monty@hundin.mysql.fi
2f93aa9e51
Test that all MERGE tables comes from the same database
2001-08-29 17:33:41 +03:00
monty@hundin.mysql.fi
dfcb208e53
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
2001-08-23 00:59:19 +03:00
monty@hundin.mysql.fi
e127a952a6
Portability fixes
2001-08-23 00:55:48 +03:00
serg@serg.mysql.com
d9652cdc55
#include <my_pthread.h>
...
extern "C" {
2001-08-22 14:15:01 +02:00
monty@hundin.mysql.fi
733f865f54
Fixes for OS2.
...
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
monty@hundin.mysql.fi
a1be2a894f
Fix of UNION code
...
Added heap_delete_table
Added HA_EXTRA_PREPARE_FOR_DELETE
Added and use my_dup() for faster open of tables.
Removed not working no-mix-table-type
2001-08-19 14:43:51 +03:00
Sinisa@sinisa.nasamreza.org
1e1a1ec064
New startup options and some cleanups
2001-08-18 15:29:21 +03:00
monty@hundin.mysql.fi
b1cb5b6ff0
Portability fixes.
...
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
2001-08-18 10:49:00 +03:00
monty@hundin.mysql.fi
59e7c97dab
Remove warnings and portability fixes
...
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
monty@hundin.mysql.fi
4a470fcc99
Fix error messages after merge from 3.23
2001-08-13 15:24:29 +03:00
sasha@mysql.sashanet.com
7c344a582c
post-merge fixes to make it compile. It still fails the fulltext test,
...
(wrong error code) but I'll push it so that Sergei could clean up
my merge
2001-08-11 19:54:31 -06:00
sasha@mysql.sashanet.com
7267133886
merged
2001-08-11 17:28:41 -06:00
tim@black.box
a1a834a650
Embedded mysql fixes.
...
There is now a mysql_server_init() function which needs to be
called at the beginning of the program (and _end() for the end
of the program). This routine handles argument parsing for the
embedded server.
Use the embedded version of mysql_load_file() (ignore the LOCAL
argument, since the client and server are the same program).
There are now mysql_thread_init/end() functions for the client
to use in a multi-threaded app. They are just wrappers for
my_thread_init/end().
2001-08-10 12:37:36 -04:00
monty@hundin.mysql.fi
e7575da7bb
Portability fixes
...
Added record_rnd_buffer
Added --safe-user-create
Fix for ALTER TABLE RENAME on windows
2001-08-10 17:37:37 +03:00
sasha@mysql.sashanet.com
a98a7ffe7e
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-08-03 16:09:36 -06:00
monty@tik.mysql.fi
7e2d4d8faa
New error messages for MATCH and UNION
2001-08-04 01:09:35 +03:00
sasha@mysql.sashanet.com
09eda84f2e
LOAD DATA INFILE is now replicated properly, except for cleanup on
...
Stop event and bugs the test suite could not catch
Did some big restructuring of binlog event classes - most important
change is that now each event class has exec_event method and one does
not need to modify slave core code to add a new event. Slave code is
now much smaller and easier to read
2001-08-03 15:57:53 -06:00
monty@tik.mysql.fi
0d55e93614
Fix when using --without-server --with-thread-safe-client
...
Added prototype for my_thread_end
New error message for MATCH
Give error when using myisamchk --force --readonly
2001-08-04 00:10:00 +03:00
monty@tik.mysql.fi
b13d453d50
Fix UNION
...
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
2001-08-02 06:29:50 +03:00
tonu@x153.internalnet
e1fa72edef
Merge work.mysql.com:/home/bk/mysql-4.0
...
into x153.internalnet:/home/tonu/mysql-x
2001-07-24 15:00:36 +08:00
tonu@x153.internalnet
85c287a439
OpenSSL fixes. Should not affect anything else.
2001-07-24 14:07:46 +08:00
sasha@mysql.sashanet.com
f935dcf2be
merged
2001-07-20 16:32:13 -06:00
sasha@mysql.sashanet.com
008456c9b6
added pre/post read callbacks to IO_CACHE
...
#ifdefed out code not used in the server from log events
started on new LOAD DATA INFILE events
2001-07-20 16:22:54 -06:00
monty@work.mysql.com
01cda0929a
merge
2001-07-18 23:58:10 +02:00
monty@hundin.mysql.fi
5a8e734b9a
Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY if
...
--low-priority-updates is used and the file has holes.
2001-07-18 23:34:04 +03:00
monty@tik.mysql.fi
fc81fdb4ba
Redefinition of myisam_bulk_insert_tree_size
...
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
sasha@mysql.sashanet.com
c739f7f426
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-07-04 18:41:17 -06:00
sasha@mysql.sashanet.com
c01d4e1ef7
SHOW NEW MASTER FOR SLAVE WITH ...
2001-07-04 17:14:31 -06:00
serg@serg.mysql.com
0043136882
merged
2001-07-02 21:52:22 +02:00
serg@serg.mysql.com
15b6738474
memory-limited tree
...
bulk inserts optimization: caching keys in binary tree
2001-07-02 21:18:57 +02:00
sasha@mysql.sashanet.com
924dadef97
merged new 3.23 errors
...
fixed bugs in log seq - now starting to look good
fixes for SHOW BINLOG EVENTS
will push this one
2001-06-22 08:35:18 -06:00
sasha@mysql.sashanet.com
1e76c806eb
fixed drop/create database bug when holding global read lock
...
preserve originating server id in Intvar events to avoid inifinite loops
2001-06-21 15:59:51 -06:00
sasha@mysql.sashanet.com
992f889878
added SHOW BINLOG EVENTS
...
fixed log sequence bugs
fixed bugs in handling Slave event
added test case with SHOW BINLOG EVENTS
have not fixed all the bugs - found some that are also in 3.23,
will fix them there first, then do pull and cleanup
will not push this changeset
2001-06-21 13:19:24 -06:00
sasha@mysql.sashanet.com
a6788beace
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-08 19:26:11 -06:00
sasha@mysql.sashanet.com
24f89c754a
auto-magic replication redirection logic support in the client,
...
compiles, passes test suite, does magic, has bugs, but none that I know
at this point. Have not tested everything yet, though. Changed
a lot of code in the client, but normal stuff appears to be working.
2001-06-08 19:24:41 -06:00
tonu@hundin.mysql.fi
bc2aca9a63
Fixed compile-time warnings
2001-06-08 22:28:57 +03:00
tim@hundin.mysql.fi
ae9e69efe3
Merge work:/my/mysql-4.0 into hundin.mysql.fi:/home/tim/mysql-4.0
2001-06-05 04:18:23 +03:00
tim@hundin.mysql.fi
403b96c54d
violite.h Don't define st_vio if EMBEDDED_LIBRARY.
2001-06-05 04:15:13 +03:00
sasha@mysql.sashanet.com
3aafd368a4
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-04 18:06:27 -06:00
sasha@mysql.sashanet.com
060da63ab3
Merge mysql.sashanet.com:/home/sasha/src/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-04 17:34:11 -06:00
tonu@hundin.mysql.fi
6988b7476d
vio.c Vio code bugfix
...
violite.h Code cleanup
2001-06-05 02:28:33 +03:00
monty@hundin.mysql.fi
f02ed5fe0b
Declare stpcpy() to fix portability problem on AIX with gcc 2.95.3
...
Fixed problem with command line arguments on 64 bit machines when
we use ~0 to indicate 'no limit'
2001-06-03 16:45:49 +03:00
sasha@mysql.sashanet.com
1d05b89980
some code for replication awareness support - this is a temporary
...
commit - it compiles, and test suite still passes, but it is not finished . The
purpose of the commit is backup/code sharing/code review
2001-06-02 20:02:43 -06:00
monty@work.mysql.com
ef8d161dea
merge
2001-06-01 23:51:23 +02:00
monty@hundin.mysql.fi
dd83beb76a
Added --skip-symlinks
...
Don't force repair of tables that are not closed properly.
2001-06-01 19:38:47 +03:00
monty@hundin.mysql.fi
126da692cb
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-06-01 04:28:34 +03:00
monty@hundin.mysql.fi
866a82782c
Added support for symlinked tables.
...
myisamchk: Don't force a repair if the only problem was that the
open count wasn't correct.
Added missing error messages.
2001-06-01 04:27:59 +03:00
monty@work.mysql.com
e595fe3b34
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-06-01 03:13:02 +02:00
monty@hundin.mysql.fi
0a51e72aa3
Added symlink support to mysys library.
2001-06-01 03:53:14 +03:00
tonu@hundin.mysql.fi
f515a3ae4a
make vio compile
2001-05-31 17:42:37 +03:00
tonu@hundin.mysql.fi
537846a412
Merge tonu@work.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/tonu/mysql-4.0
2001-05-31 17:20:02 +03:00
tonu@hundin.mysql.fi
1519e5d01d
Support for VIO library
2001-05-31 17:18:25 +03:00
monty@hundin.mysql.fi
762f423d91
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-05-31 14:08:00 +03:00
monty@hundin.mysql.fi
b7c3a28149
Removed compiler warnings.
...
Added preliminary handling of symlinks in MyISAM.
When using myisamchk to check tables with --force, don't repair
tables that are marked as 'not closed' if they are ok.
Change fn_format() to use my_real_path and my_symlink
2001-05-31 14:07:17 +03:00
monty@work.mysql.com
df56b252a7
merge
2001-05-31 12:56:05 +02:00
monty@hundin.mysql.fi
be188b117b
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
2001-05-31 12:19:16 +03:00
monty@hundin.mysql.fi
6a387c7cdf
Added functions for symbolic link handling to make it possible to
...
backport things from 4.0. This is safe as the functions are not used!
Fixed bug in new mutex handling in InnoDB
Make allow_break() and dont_break() defines.
2001-05-31 12:18:53 +03:00
sasha@mysql.sashanet.com
a817bd3862
A slave now can optionally register with the master providing the
...
info on how to connect to the slave for the clients that connect to
the master, but would like to know where the slaves are
2001-05-30 18:50:56 -06:00
mikef@nslinux.bedford.progress.com
ceac5f9227
Pushing all the Gemini changes above the table handler.
2001-05-29 09:29:08 -04:00
sasha@mysql.sashanet.com
8f6b34f950
updates for LOAD DATA FROM MASTER + some cleanup of replication code
2001-05-28 19:18:23 -06:00
monty@donna.mysql.fi
cc4e7310c8
Merge work:/home/bk/mysql-4.0 into donna.mysql.fi:/home/my/bk/mysql-4.0
2001-05-23 23:49:06 +03:00
monty@tik.mysql.fi
8685094e15
Don't write rows in MyISAM tables when using count(distinct)
...
Don't read MyISAM header when running without locking
2001-05-23 02:40:46 +03:00
tonu@x3.internalnet
d536c0d787
vio.h BitKeeper file /home/tonu/bk/mysql-4.0/include/vio.h
2001-05-20 23:31:36 +02:00
sasha@mysql.sashanet.com
ef27ec42c2
option to free_root() to not my_free() the blocks
...
fixed bug/updated count_distinct2 test
changed reset in count distinct to avoid calls to my_free()
2001-05-12 19:50:51 -06:00
sasha@mysql.sashanet.com
c706bf40f3
use tree for count(distinct) when possible
2001-05-11 15:07:34 -06:00
sasha@mysql.sashanet.com
a12117f036
change tree to use qsort_cmp2 - compare function with 3 instead of 2 arguments
2001-05-10 18:14:15 -06:00
sasha@mysql.sashanet.com
7c9b9f471c
Merged with 3.23, needs further fix-up
2001-05-10 15:06:35 -06:00
serg@serg.mysql.com
8e882bcafa
Merge
2001-05-02 12:18:05 +02:00
monty@donna.mysql.fi
21e7c668ff
Portability fixes for Ia64 and Sgi compiler
...
DROP DATABASE in mysqladmin asks for confirmation (again)
Added examined_rows to slow query log
SHOW CREATE for TEMPORARY table
2001-04-25 22:44:27 +03:00
monty@donna.mysql.fi
9ee2a297c0
Fixes for embedded MySQL
...
Some limit optimization
2001-04-25 01:11:29 +03:00
monty@donna.mysql.fi
97c3927679
Portability fixes
2001-04-23 03:28:08 +03:00
monty@donna.mysql.fi
1e3df575b9
Fixed probelm with count(*) and normal functions when no matchin rows.
...
Changed 'lib' to 'master-data'
Fix for slow slaves
2001-04-21 17:12:59 +03:00
monty@donna.mysql.fi
c8fbe93890
Fixed that database name is shown for CHECK TABLE
2001-04-20 17:14:53 +03:00
monty@work.mysql.com
93de112238
Merge
2001-04-19 00:58:30 +02:00
serg@serg.mysql.com
185c2beaea
ft_* variables added
2001-04-17 21:30:02 +02:00
tim@threads.polyesthetic.msg
c3e3a336b6
Try to make MySQL compile under Cygwin.
...
Bug fix for Dec OSF on Alpha.
Minor bug fix for server RPM.
Tweak RPM support for mysqld-max.
2001-04-14 13:04:20 -04:00
monty@work.mysql.com
8f62579c38
Added all changes from old 4.0 version:
...
PSTACK, libmysqld and MySQL filesystem
UPDATE ... ORDER BY
DELETE ... ORDER BY
New faster fulltext handling
Faster compressed keys
2001-04-11 13:04:03 +02:00
monty@donna.mysql.fi
1a077f4a55
Let ALTER TABLE and LOAD DATA INFILE use sorting to create index
...
Call init_signals before intializing table handlers. This should fix the signal problem in Innobase on Solaris
2001-03-28 04:16:04 +03:00
monty@donna.mysql.fi
dab74107ab
Fix a crash in Innobase with tables with many columns and a range query
...
Removed all Attic directories.
2001-03-26 16:49:11 +03:00
monty@donna.mysql.fi
aa11573380
Added defines for fast mutex in glibc 2.2 (should be safe)
...
Fixed crash in SELECT DISTINCT SUM(...)
Fix return value of mysortncmp() for innobase
Fix join_crash bug
2001-03-24 20:15:14 +02:00
mikef@nslinux.bedford.progress.com
d145a6b97e
Add support for Gemini table handler, Monty has checked and approved
...
Fix bug when read return error
2001-03-21 15:34:16 -05:00
monty@tik.mysql.fi
66ba6da014
Fixed CLIENT_TRANSACTIONS define
...
Fixed bug in SHOW VARIABLES when using innobase tables
2001-03-14 23:12:15 +02:00
monty@donna.mysql.fi
bda3e09935
Merged some functions and removed some unused client functions.
...
Remember UNION for ALTER TABLE
Added test for if we are supporting transactions.
Don't allow REPLACE to replace a row when we have generated an auto_increment key
Fixed bug when using BLOB keys
Fixed bug in SET @variable=user.
2001-03-06 15:24:08 +02:00
jcole@tetra.spaceapes.com
ab60ef6d81
Fixed a bug that allowed:
...
SET @foo=bar;
This would cause a deadlock in mysqld, it now generates the error:
ER_SET_CONSTANTS_ONLY as follows:
mysql> set @foo=bar;
ERROR 1204: You may only use constant expressions with SET
2001-03-02 05:03:18 -06:00
monty@donna.mysql.fi
1c298277f9
Fixes for innobase
...
Added test for ALTER TABLE ORDER BY
2001-02-21 14:16:00 +02:00
monty@donna.mysql.com
8e4968d9c7
Added max_user_connections
...
Fixes for Innobase
Don't reset whole to-buffer in strxnmov
2001-02-20 22:34:47 +02:00
monty@donna.mysql.com
d218ebcc51
Added locks needed for Innobase
...
Fixed mutex problem when doing automatic repair of MyISAM tables
2001-02-18 00:03:37 +02:00
monty@donna.mysql.com
c533308a15
Added Innobase to source distribution
2001-02-17 14:19:19 +02:00
monty@donna.mysql.com
450d98e341
Changed --replace to --replace_result in mysqltest
...
Changed errmsg -> my_errmsg (portability issue)
Fixed that mysqlbinlog writes SET TIMESTAMP before all queries
Fixed comments in default my.cnf files
2001-02-15 03:43:14 +02:00
monty@donna.mysql.com
1b2c841864
Check that __FLOAT_WORD_ORDER is defined
2001-02-08 04:43:55 +02:00
monty@donna.mysql.com
059ad7f078
Force sockets to be blocking on HPUX 11.0
...
Changed BITMAP to MY_BITMAP to avoid type conflict on windows
2001-02-07 23:27:19 +02:00
monty@donna.mysql.com
d487e5a9b1
Use new bitmap interface
...
Patches for Armstrong
Removed warnings when using REPAIR TABLE .. EXTENDED
2001-02-07 17:42:20 +02:00
monty@donna.mysql.com
227a2775c7
Added missing file
2001-02-03 18:18:58 +02:00
monty@donna.mysql.com
9d120741d2
Portability fixes
...
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
2001-02-02 03:47:06 +02:00
monty@donna.mysql.com
bdbc0ef7a0
New myisamchk option --sort-recover
...
Allow delete of crashed MyISAM tables
Fixed bug when BLOB was first part of key
Fixed bug when using result from CASE in GROUP BY
Fixed core-dump bug in monthname()
Optimized calling of check_db_name()
2001-01-31 04:47:25 +02:00
monty@donna.mysql.com
c40b10730e
merge
2001-01-28 21:41:10 +02:00
sasha@mysql.sashanet.com
7db4b9b466
merge
2001-01-27 15:38:22 -07:00
sasha@mysql.sashanet.com
70f619856b
fixed up lock counting code - Monty's suggestions
...
updated manual about table lock counter
fixed coredump in DROP DATABASE with long bogus name by non-root user
fixed bug in handling STOP immediately after ROTATE
added test case for buffer overrun on DROP DATABASE by non-root user
added test case for the STOP bug in replication
2001-01-27 15:33:31 -07:00
jcole@tetra.spaceapes.com
519e7256a6
manual merge
2001-01-27 03:27:40 -06:00
jcole@tetra.spaceapes.com
31569172ee
Added --temp-pool option to mysqld. This will cause temporary files
...
created to use a small set of filenames, to try and avoid problems
in the Linux kernel.
2001-01-27 03:24:05 -06:00
monty@donna.mysql.com
a7c5b9c211
Portability fixes for OPENBSD, OS2 and Windows
2001-01-27 01:20:56 +02:00
sasha@mysql.sashanet.com
e8ffda5397
Added last_errno and last_error to show slave status
...
slave will skip the first SQL_SLAVE_SKIP_COUNTER events on start -
this is needed to recover from broken replication when the next log
event(s) should just be skipped.
Rotate binlogs when max_binlog_size is reached
2001-01-24 09:15:34 -07:00
monty@donna.mysql.com
b3392db290
Fixes for OSF1
...
Made test more reliable on slow machines
2001-01-22 15:33:34 +02:00
monty@donna.mysql.com
6f3984bb64
Merge
2001-01-21 16:33:39 +02:00
monty@donna.mysql.com
62771338ca
Changes for --with-server-suffix
...
Fixed mutex bug in logging (crash on windows when doing SET PASSWORD=)
Changed MERGE tables to not use FILE
2001-01-21 16:30:16 +02:00
sasha@mysql.sashanet.com
634ba86ad7
client/mysqltest.c
...
added send/reap/dirty_close
include/mysql.h
mysql_send_query()/mysql_reap_query()
libmysql/libmysql.c
mysql_send_query()/mysql_reap_query()
mysys/my_vsnprintf.c
fixed critical bug that codedumped when connection aborted
sql/sql_parse.cc
0
mysql-test/r/dirty-close.result
New BitKeeper file ``mysql-test/r/dirty-close.result''
mysql-test/t/dirty-close.test
New BitKeeper file ``mysql-test/t/dirty-close.test''
2001-01-19 22:40:16 -07:00
tim@cane.mysql.fi
08d36171a9
Add --with-server-suffix (MYSQL_SERVER_SUFFIX).
2001-01-19 02:46:13 +02:00
tim@cane.mysql.fi
743f8a7d3e
Merge work.mysql.com:/home/bk/mysql
...
into cane.mysql.fi:/usr/home/tim/my/work
2001-01-16 22:51:45 +02:00
tim@cane.mysql.fi
c40f815e1b
Use C-style comments in common header files and C code.
2001-01-16 22:35:27 +02:00
monty@donna.mysql.com
c1b5a5b00f
Removed not used variable 'last_ref'
...
Fixed problem with negative DECIMAL() keys
Fixed some bugs with NULL keys in BDB
More mysql-test tests
2001-01-16 06:02:05 +02:00
monty@donna.mysql.com
6d0e529042
Fixed bug when having many binary log files
...
Fixed bug when deleting keys with possible NULL values
many changes to mysqltest
2001-01-08 00:04:30 +02:00
monty@donna.mysql.com
e05df20dc5
Fixed gethostname_r tests to be more portable
2001-01-01 14:17:10 +02:00
monty@donna.mysql.com
74aefb4deb
Update to new vio
2000-12-31 12:47:29 +02:00
monty@donna.mysql.com
5c18942398
cleanups
2000-12-31 12:21:42 +02:00
serg@serg.mysql.com
3bc697f7c2
Merge
2000-12-30 16:02:38 +01:00
monty@donna.mysql.com
07b1f0dccd
Fixed --no-defaults in mysqltest
2000-12-29 16:06:10 +02:00
serg@serg.mysql.com
e9cc0d26a2
Merge
2000-12-24 15:34:30 +01:00
monty@donna.mysql.com
75dc09534b
Fix duplicate symbol problem
2000-12-24 16:00:46 +02:00
monty@donna.mysql.com
6ba7c07ce2
merge
2000-12-24 15:22:33 +02:00
monty@donna.mysql.com
b590fa2567
New benchmark test
...
Fixed bug in REPLACE with BDB tables
Prepare for write lock on read for BDB
Inform the handler when we want to use IGNORE / REPLACE
New manual pages
2000-12-24 15:19:00 +02:00
serg@serg.mysql.com
c21c89cd67
raid.h moved my_raid_type() out of #ifdef USE_RAID
...
sql_show.cc #define USE_RAID removed
2000-12-23 23:26:54 +01:00
tim@cane.mysql.fi
8f51a9f1f3
Style fix - keep os-specific stuff together.
2000-12-22 20:57:00 +02:00
monty@donna.mysql.com
155823ad51
Lots of new benchmark runs
...
Remember filename for temporary files created with mkstemp
Fixed wrongly allocated BDB share structure
Cleanups for SunPRO
2000-12-18 16:09:19 +02:00
monty@donna.mysql.com
bed1668e23
Backed out the new LARGEFILE patch as it broked several things
2000-12-16 14:26:00 +02:00