Commit graph

369 commits

Author SHA1 Message Date
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@work.mysql.com
04363f9e69 Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-14 17:07:15 +02:00
monty@hundin.mysql.fi
008472f373 Fixed problem with "record not found" in BDB tables. 2001-09-14 17:59:05 +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
c946439d6c Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-09-12 23:54:22 +03:00
monty@tik.mysql.fi
46f944f4a4 First drop merge table, then other tables 2001-09-12 00:11:18 +03:00
sasha@mysql.sashanet.com
e42eca1ea5 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-09-10 17:31:33 -06:00
sasha@mysql.sashanet.com
3d26fc50fc fixed IDENTITY crisis 2001-09-10 17:30:29 -06:00
monty@hundin.mysql.fi
fa23b20789 Fixes for German sorting order. 2001-09-11 01:40:52 +03:00
monty@hundin.mysql.fi
442c03f071 Fix bugs when using LOCK TABLES with BDB tables
Optimized remove of key when using internal cursor in BDB tables.
2001-09-08 20:45:53 +03:00
monty@hundin.mysql.fi
b4ec9cf608 Cleanups 2001-09-07 22:38:45 +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@hundin.mysql.fi
279de0c67c Update of manual with 4.0 changes
Create innodb table space if configuring with InnoDB and not using --skip-innodb
Fixes for TRUNCATE TABLE and DROP DATABASE.
2001-09-03 05:16:15 +03:00
monty@work.mysql.com
447c18954e merge with 3.23.42 2001-09-02 18:38:33 +02:00
tonu@x153.internalnet
6e490cb713 Yet another SSL fixes 2001-09-01 06:57:08 +08:00
tonu@x153.internalnet
9cd207e0ca OpenSSL fixes 2001-09-01 06:30:05 +08:00
sasha@mysql.sashanet.com
65a484a10b replicated get_lock() properly 2001-08-31 15:55:58 -06:00
tonu@x153.internalnet
d02c295d1c OpenSSL tests added 2001-09-01 05:36:06 +08:00
tonu@x153.internalnet
921cae2c5c SSL fixes 2001-09-01 05:18:01 +08: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
788bc3f43b Fixed that LOAD DATA INFILE works with transactions.
Fix for lower case filenames
2001-08-28 06:43:55 +03:00
sasha@mysql.sashanet.com
2adf2fadc6 test case for InnoDB replace/auto_increment bug when insert_id is
forced by the user
2001-08-24 20:45:06 -06:00
Sinisa@sinisa.nasamreza.org
3b6546b875 EXPLAIN on UNION"s 2001-08-24 13:18:06 +03: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
063a1a6557 Portability fixes.
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
2001-08-21 20:06:00 +03:00
monty@hundin.mysql.fi
2662e135c7 Remove usage of my_dup(), as this casued error 127 when reading MyISAM tables
New definition of WEEK().
2001-08-21 13:44:01 +03:00
monty@hundin.mysql.fi
0b9c92103f merge 2001-08-18 12:17:56 +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
sasha@mysql.sashanet.com
8ca3b53af3 fixed bug in Item_func_div::val_int() that broke all functions that
do val_int() on their arguments before starting the computation. 
Similar fixes are need for +-* and probably several other but I want
to make sure Monty is fine with my fix approach before changing a lot
of code. 

Amazingly,
this bug is not as critical as you would expect since very few functions do val_int()
on their arguments ( from_unixtime(), sec_to_time()), and those not
very frequently perform a computation on their floating point arguments.
which is probably why no one has yet reported this bug. Another 
possibility is that the result is usually wrong by no more than 5%,
which makes it hard to catch it. I found it when trying to compute mile
splits for 30:47 10K - it told me 5:07, and I knew it was wrong because
5:00 mile gives you 31:08. However, if I had not run as many 10K races,
I would have easily believed that 30:47 10K is a 5:07 mile pace and 
would not have noticed the bug.
2001-08-16 12:01:35 -06: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
Sinisa@sinisa.nasamreza.org
58ac4b5dfe Monty, your comments ?? 2001-08-12 16:25:28 +03:00
sasha@mysql.sashanet.com
7267133886 merged 2001-08-11 17:28:41 -06:00
monty@hundin.mysql.fi
8a9d6072fa merge 2001-08-10 17:47:05 +03: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
f6836bf81a merged 2001-08-09 19:16:15 -06:00
serg@serg.mysql.com
37c417318e Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2001-08-08 14:29:34 +02:00
sasha@mysql.sashanet.com
31f269f1dd fixed error message numbers in union test 2001-08-04 16:37:29 -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
sasha@mysql.sashanet.com
ccaa349ec2 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-07-30 17:44:33 -06:00
sasha@mysql.sashanet.com
d31b49f328 added test case for fulltext join bug 2001-07-30 17:43:58 -06:00
monty@tik.mysql.fi
1731161ff4 Fixed optimizer bug in ORDER BY where some ORDER BY parts where ignored.
Extended default arguments to be up to 4095 characters
2001-07-30 22:49:39 +03:00
serg@serg.mysql.com
7eae61b9a9 fulltext_update.result BitKeeper file /usr/home/serg/Abk/mysql/mysql-test/r/fulltext_update.result
fulltext_update.test	BitKeeper file /usr/home/serg/Abk/mysql/mysql-test/t/fulltext_update.test
2001-07-27 16:48:33 +02:00
serg@serg.mysql.com
6288cfb848 bulk insert bug fixed 2001-07-26 15:57:34 +02:00
Sinisa@sinisa.nasamreza.org
8ae559d544 UNION's 2001-07-25 15:28:37 +03:00
tim@white.box
2b6776d337 Add test case for update/replace bug in bdb.
Remove unused argument to ha_berkeley::remove_key().
2001-07-24 12:23:17 -04:00
monty@hundin.mysql.fi
cb59a7f5af Fixed bad merge and fixed some wrong test cases 2001-07-19 02:37:41 +03:00
monty@work.mysql.com
01cda0929a merge 2001-07-18 23:58:10 +02:00
sasha@mysql.sashanet.com
1c3dc8875e fixed mysterious offset confusion bug
added a test case for it - took some creative work to figure out
how to make it happen at will
updated the manual
2001-07-18 14:26:43 -06:00
tim@white.box
5014d736e1 bdb.test new test for a bug report 2001-07-17 17:30:17 -04:00
monty@hundin.mysql.fi
e3e51204ec Added timeouts to make lock test repeatable 2001-07-17 22:59:14 +03:00
monty@tik.mysql.fi
ecefc69c50 Made replication test portable accross table handlers 2001-07-16 13:27:29 +03:00
monty@tik.mysql.fi
7ff42f8218 Merge 2001-07-16 03:07:45 +03:00
monty@tik.mysql.fi
bf9876a195 Patch for netBSD
Added warning for tables where the auto_increment key is 0
Fixed DELETE ... LIMIT 0
Fixed UPDATE ..LIMIT 0
2001-07-16 03:04:30 +03:00
sasha@mysql.sashanet.com
ace20e0c41 updated lock test 2001-07-13 17:45:14 -06:00
sasha@mysql.sashanet.com
9f00125ab8 test case for low priority updates race bug
not yet fixed
2001-07-13 17:25:37 -06:00
sasha@mysql.sashanet.com
38d3bf5172 mysql-test/t/rpl_sporadic_master.test
use truncate table
sql/slave.cc
    fixed race condition on server shutdown
sql/sql_repl.cc
    fixed uninitialized use of io_cache
2001-07-10 20:35:42 -06:00
sasha@mysql.sashanet.com
5527f9bfc3 mysql-test/t/rpl_sporadic_master.test
fixed test case to produce same results on txn-enabled binary. 
    temporary fix - permanent fix is it make mysqld behave the same with
    MyISAM on auto_increment insert after delete from tbl_name regardless
    of how the binary was compiled
sql/slave.cc
    fixed concurrency bug with log_seq
sql/slave.h
    last_log_seq needs to be updated atomically with pos
sql/sql_repl.cc
    cleared up comment and fixed concurrency bug
2001-07-10 18:08:37 -06:00
monty@tik.mysql.fi
1e6fe8f10e merge 2001-07-10 16:09:15 +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
080f7d4dd1 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-07-07 21:24:04 -06:00
monty@tik.mysql.fi
ca771c46bb merge 2001-07-08 06:24:03 +03:00
sasha@mysql.sashanet.com
d80451c818 post-merge fixes
test SHOW OPEN TABLES
2001-07-07 19:15:41 -06: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
monty@tik.mysql.fi
0559758630 Added support for ANSI SQL X'hex-string' format.
Fixed mysqldump to use -- instead of # as comment characters.
Removed support for the 3.20 protocol format
2001-07-04 09:39:58 +03: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
Sinisa@sinisa.nasamreza.org
9e9f21a5c9 Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
2001-07-01 13:27:09 +03:00
Sinisa@sinisa.nasamreza.org
ce09acfbeb Making multi-table delete BETA !! 2001-07-01 13:20:53 +03:00
sasha@mysql.sashanet.com
ea2e911892 support for eval_result and let $var = query syntax in mysql-test
fixes for rpl_log test to make it config-independent
2001-06-30 13:08:35 -06:00
sasha@mysql.sashanet.com
242037992f merged with 3.23 replication updates 2001-06-28 19:48:49 -06:00
monty@hundin.mysql.fi
f0dc189227 Fix ORDER BY ... DESC optimization 2001-06-29 04:04:29 +03:00
sasha@mysql.sashanet.com
d2704e470a Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-06-28 18:23:48 -06:00
sasha@mysql.sashanet.com
2e4d264c27 fixed message in post-commit trigger
added debugging options to master to behave sporadically, and a 
test case to make sure the slave can deal with it
2001-06-28 18:22:29 -06:00
monty@work.mysql.com
545e596ef7 merge 2001-06-28 14:51:18 +02:00
monty@hundin.mysql.fi
3c3d0bbd57 Allow floats of type 1.0e1 2001-06-28 15:24:28 +03:00
tim@white.box
5ed2cf7dbe Implement ORDER BY DESC optimization, which reads values in descending
order directly from the index instead of using a filesort.
2001-06-28 03:06:23 -04:00
monty@hundin.mysql.fi
65600db56d Fixed bug when sorting big files (introduced with multi-table-delete)
Changed mysql-test to use --language
Cleaned up parameters to filesort()
2001-06-25 11:35:22 +03:00
monty@hundin.mysql.fi
c7a6af0512 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-06-24 22:11:27 +03:00
monty@hundin.mysql.fi
334a4815ea Fixed bug in multi-table-delete code 2001-06-24 22:11:00 +03:00
sasha@mysql.sashanet.com
a91ac47cde show master forced rotate info in SHOW BINLOG EVENTS
mark a master-forced rotate with a special flag
2001-06-23 19:37:24 -06:00
sasha@mysql.sashanet.com
c71cba0bd9 added test case for the bug in ORDER BY when we fill up sort buffer
Note that if you change sort buffer to be bigger, the bug will not show
2001-06-22 15:13:33 -06: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
bd1500fc10 merged test from 4.0 2001-06-21 16:48:18 -06:00
sasha@mysql.sashanet.com
b86ffcef9a merge 2001-06-21 16:15:00 -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
b531e0018c Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-21 13:20:22 -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
monty@work.mysql.com
7f68199648 merge 2001-06-21 11:03:54 +02:00
monty@hundin.mysql.fi
11e567229a UNIQUE keys are not anymore shown as PRIMARY KEY 2001-06-21 10:50:14 +03:00
sasha@mysql.sashanet.com
24a2a4e0ab Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-19 15:04:24 -06:00
sasha@mysql.sashanet.com
46de2a9fe4 Added event sequence number and flags to binlog
Documented/cleaned up log event code
Updated tests
2001-06-19 15:03:48 -06:00
monty@hundin.mysql.fi
72fb81e888 Fixed bug in mysqlcheck when using --fast
Fixed problem when converting bigint to double.
Fixed bug in count(distinct null)
Fixed bug with empty BDB tables.
2001-06-19 14:30:12 +03:00
Sinisa@sinisa.nasamreza.org
910d5c3bf9 bk resolve changes 2001-06-16 14:06:54 +03:00
Sinisa@sinisa.nasamreza.org
6f5c70703a Changes for multi-table delete and UNION's 2001-06-16 13:58:01 +03:00
monty@hundin.mysql.fi
a06f391e7a Fixed multi-table-delete
Optimize fixed length MyISAM rows to use pread/pwrite.
2001-06-15 05:03:15 +03:00