Commit graph

876 commits

Author SHA1 Message Date
monty@hundin.mysql.fi
301af97d4a Fix for handling of floats inside val_int() of +, - * and /. 2001-08-18 14:24: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
heikki@donna.mysql.fi
ac2a265ba7 ha_innobase.cc Impove ref length estimate in a handle to eliminate a warning in filesort 2001-08-17 21:19:10 +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
sasha@mysql.sashanet.com
f6099e532e improvements for stopping the slave in SLAVE STOP and on shutdown 2001-08-15 15:41:52 -06:00
sasha@mysql.sashanet.com
8c4326057f fixed HUP bug, last fix was not complete 2001-08-13 20:09:21 -06:00
sasha@mysql.sashanet.com
6ae2b46c6f Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-08-13 16:40:36 -06:00
heikki@donna.mysql.fi
335dda93b4 row0sel.c Fix a memory freeing bug when a row which contains an externally stored long field in the middle of the row is fetched in a SELECT
srv0start.c	Allow drive name followed by a ':' in a data file path
ha_innobase.cc	Allow drive name followed by a ':' in a data file path
2001-08-13 18:37:00 +03:00
sasha@mysql.sashanet.com
5b7da4267e Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-08-11 15:27:10 -06:00
monty@hundin.mysql.fi
bfbc3252e1 Portability fix for windows 2001-08-11 14:10:27 +03:00
monty@bitch.mysql.fi
10b6b5cb0e Merge hundin:/my/mysql into bitch.mysql.fi:/my/mysql 2001-08-11 11:33:48 +03:00
monty@bitch.mysql.fi
df7a29214a Made SIGTERM safer for Solaris 2001-08-11 11:24:43 +03:00
monty@hundin.mysql.fi
79131084c8 Fixed handling of strings in mysqldumpslow 2001-08-11 01:42:34 +03:00
monty@hundin.mysql.fi
65a711f40f Allow myisam-recover="" and --sql-mode="" 2001-08-10 19:02:23 +03: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
monty@bitch.mysql.fi
410faef67e Fixed bug in ALTER TABLE for MERGE tables
Portability fixes
Fixed problem when giving wrong arguments to myisam_recover
Fix to remove warnings when using purify
2001-08-10 17:05:54 +03:00
jani@hynda.mysql.fi
0ca647c01c Fixed bug in show variables, it didn't show whether slow-query was
enabled or not.
2001-08-10 13:47:27 +03:00
jani@hynda.mysql.fi
84953bbad2 New dutch error message file. 2001-08-10 13:01:42 +03:00
jani@hynda.mysql.fi
36bfe9f1f6 Merge jamppa@work:/home/bk/mysql into hynda.mysql.fi:/data/my/bk/mysql 2001-08-10 12:51:34 +03:00
jani@hynda.mysql.fi
0b68a21b5d changed variable display from string to int (bits) for myisam-recover
and sql-mode options.
2001-08-10 12:40:49 +03:00
sasha@mysql.sashanet.com
be4f7bbdcf Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-08-09 18:18:35 -06:00
sasha@mysql.sashanet.com
681cdbbdf9 mysqlbinlog->client 2001-08-09 18:16:43 -06:00
heikki@donna.mysql.fi
402c55fcd8 ha_innobase.h Fix Sort aborted bug 2001-08-09 20:42:32 +03:00
heikki@donna.mysql.fi
6e553a2c65 btr0cur.c Improve range size estimate for big ranges
ha_innobase.cc	Fix Sort aborted bug
2001-08-09 20:41:20 +03:00
jani@hynda.mysql.fi
44722151fd Added new optino --sql-mode to mysqld. 2001-08-09 18:51:38 +03:00
monty@tik.mysql.fi
2f8a49c096 Fix of big in SELECT DISTINCT ... HAVING 2001-08-08 03:50:25 +03: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
1ddb97f482 Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-07-30 22:51:02 +03: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
sasha@mysql.sashanet.com
72c39117df do not log stray error codes in Query_log_event 2001-07-28 11:46:22 -06: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
tim@white.box
c61f04b005 ha_berkeley.cc Fix bug in remove_key(), when key != primary_key it would
ha_berkeley.cc	core dump if cursor was invalid.
2001-07-24 12:00:23 -04:00
miguel@light.local
ffee8665bf Updated Translation English->Protuguese 2001-07-21 13:51:40 -03:00
heikki@donna.mysql.fi
be05b70c0d srv0srv.h Support raw disk as a data file
srv0start.c	Support raw disk as a data file
srv0srv.c	Support raw disk as a data file
ha_innobase.cc	Some error messages and support raw disk as a data file
2001-07-19 22:46:41 +03:00
monty@hundin.mysql.fi
40aa7c6d29 Merge 2001-07-18 23:35:13 +03: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
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
monty@hundin.mysql.fi
de7d371900 Fixed problem with part keys and BDB tables 2001-07-18 11:31:18 +03:00
sasha@mysql.sashanet.com
ef88e50758 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-07-17 14:23:44 -06:00
sasha@mysql.sashanet.com
14c23716a6 added slave_net_timeout 2001-07-17 14:22:52 -06:00
monty@hundin.mysql.fi
b051b3ab8d Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-07-17 21:05:38 +03:00
monty@hundin.mysql.fi
aecef7614e Removed wrong warning from thr_lock
Fixed problem with UPDATE and BDB tables
Fixed problem with GRANT FILE privilege on database level
mysqld --warnings works now
Fixed problem with SHOW OPEN TABLES when not using BDB
Added some tests for ALTER TABLE to the test scripts
2001-07-17 21:04:01 +03:00
heikki@donna.mysql.fi
c9014d88a3 ha_innobase.cc Fix a bug in showing of Auto_increment in SHOW TABLE STATUS
ha_innobase.h	Fix a bug in showing of Auto_increment in SHOW TABLE STATUS
2001-07-16 21:10: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
fa4e355dac send kill signal to slave thread on shutdown 2001-07-11 21:33:19 -06:00
sasha@mysql.sashanet.com
21a8aaa29d fixed race condition in automatic binlog rotation
remove extension from binary log if the user specifies one to avoid
    non-rotatable logs
fixed possible use of unitialized IO_CACHE in debug mode
2001-07-11 19:29:23 -06:00
monty@tik.mysql.fi
cc35643e1c Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-07-07 23:28:51 +03:00