Commit graph

8092 commits

Author SHA1 Message Date
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