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
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
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
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
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
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
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
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
341efdd7e8
fixed float test result for updated test case
2001-06-28 19:19:23 -06: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@hundin.mysql.fi
3c3d0bbd57
Allow floats of type 1.0e1
2001-06-28 15:24:28 +03:00
sasha@mysql.sashanet.com
bd1500fc10
merged test from 4.0
2001-06-21 16:48: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
monty@hundin.mysql.fi
11e567229a
UNIQUE keys are not anymore shown as PRIMARY KEY
2001-06-21 10:50:14 +03: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
monty@hundin.mysql.fi
6aa6374e3e
Added --skip-stack to mysql-test-run
2001-06-12 18:00:36 +03:00
monty@hundin.mysql.fi
6be95636b1
Fixed wrong mysql-test
...
New german error messages
2001-06-12 17:13:52 +03:00
monty@hundin.mysql.fi
0359ff02fd
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
2001-06-12 11:59:37 +03:00
monty@hundin.mysql.fi
ad71ff7659
Added --verbose option to mysqlshow
...
Fixes for making distribution
2001-06-12 11:59:14 +03:00
sasha@mysql.sashanet.com
824a3bb406
send a separate commit message to internals
...
added a test for check table
2001-06-11 20:26:24 -06:00
monty@tik.mysql.fi
1f409baf4c
Changed compare in MyISAM to use my_pread()
...
Fixed that @VAR shows all decimals
Fixed problem with FLUSH TABLES and LOCK TABLE
CREATE ... SELECT now creates keys later
Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key
2001-06-11 15:01:28 +03:00
monty@hundin.mysql.fi
b79da88808
Changed innodb_unix_file_flush_method -> innodb_flush_method
...
Cleaned up error messages.
2001-06-07 00:10:59 +03:00
heikki@donna.mysql.fi
d9c18caa20
manual.texi website address change
...
row0sel.c CHECK TABLE now also for InnoDB, a join speed optimization
trx0trx.c CHECK TABLE now also for InnoDB, a join speed optimization
rem0cmp.c CHECK TABLE now also for InnoDB, a join speed optimization
row0mysql.c CHECK TABLE now also for InnoDB, a join speed optimization
page0page.c CHECK TABLE now also for InnoDB, a join speed optimization
row0mysql.h CHECK TABLE now also for InnoDB, a join speed optimization
trx0trx.h CHECK TABLE now also for InnoDB, a join speed optimization
btr0btr.h CHECK TABLE now also for InnoDB, a join speed optimization
btr0cur.h CHECK TABLE now also for InnoDB, a join speed optimization
btr0pcur.h CHECK TABLE now also for InnoDB, a join speed optimization
btr0pcur.ic CHECK TABLE now also for InnoDB, a join speed optimization
btr0btr.c CHECK TABLE now also for InnoDB, a join speed optimization
btr0cur.c CHECK TABLE now also for InnoDB, a join speed optimization
btr0sea.c CHECK TABLE now also for InnoDB, a join speed optimization
innodb.result CHECK TABLE now also for InnoDB, a join speed optimization
ha_innobase.cc CHECK TABLE now also for InnoDB, a join speed optimization
ha_innobase.h CHECK TABLE now also for InnoDB, a join speed optimization
2001-06-03 22:58:03 +03:00
monty@hundin.mysql.fi
4014d2367c
Added ABS() to make tests more portable.
...
New postgresql crash-me file.
Increased blob size in benchmarks from 65K to 1M.
2001-06-03 12:26:24 +03:00
sasha@mysql.sashanet.com
e09d554ed6
test if dirty close releases global read lock held by a thread
2001-06-01 17:43:32 -06:00
monty@donna.mysql.fi
3dc4b35a05
Fixed problems with decimals withing IF()
...
Force add of FN_LIBCHAR to symlinks on windows
2001-05-29 13:46:17 +03:00
monty@donna.mysql.fi
86eda127f7
Remove wrong access check for locks.
...
Fixed problem with fuzzy dates.
2001-05-23 02:40:24 +03:00
monty@donna.mysql.fi
b40410bca3
Fixed test case to work with the new auto_increment handling in InnoDB
2001-05-23 02:40:23 +03:00
monty@tik.mysql.fi
684082ce79
Updated documentation of how to add new native functions.
...
Small cleanups
2001-05-23 02:30:17 +03:00
monty@donna.mysql.fi
25a129c96f
Force close of sockets on HPUX 10.20
...
Support option lines longer than 256 chars.
Close the slow log at shutdown.
Always allow debug options to mysqld.
Change some DBUG_PRINT tags.
2001-05-19 10:14:05 +03:00
serg@serg.mysql.com
a40774fb85
merged
2001-05-16 23:22:27 +02:00
serg@serg.mysql.com
b6138af000
Fulltext manual changed, MERGE bug fixed
2001-05-16 23:06:30 +02:00
sasha@mysql.sashanet.com
37d58578e9
mysql-test/r/rpl000001.result
...
forgot to add result
2001-05-16 13:21:49 -06:00
sasha@mysql.sashanet.com
0b30f641da
mysql-test/t/rpl000001.test
...
added a test for updates on user table
2001-05-16 13:19:40 -06:00
monty@donna.mysql.fi
965cd30f87
Applied patches for BDB tables
...
Fixes to InnoDB to compile on Windows
Fix for temporary InnoDB tables
Fixed bug in REPLACE()
Fixed sub char keys for InnoDB
2001-05-09 23:02:36 +03:00
sasha@mysql.sashanet.com
c8fdb95815
reversed virtual master
2001-05-03 11:46:49 -06:00
monty@donna.mysql.fi
f01a7fceb2
Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql
2001-04-25 22:44:57 +03: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
sasha@mysql.sashanet.com
be8f18e020
fixed redundant repetition of use db in mysqlbinlog
...
added support for virtual master ( replicating from a directory with binlogs)
test case for backup/restore with virtual master
2001-04-24 17:39:26 -06: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
0f37b1244b
Fixed portability problems in mysqlcheck
2001-04-21 03:03:08 +03:00
monty@donna.mysql.fi
5e8c4b76d5
Portability fixes
2001-04-20 15:18:46 +03:00
monty@donna.mysql.fi
a94ba10f8d
Fix for BDB and LOCK TABLES
2001-04-19 20:41:19 +03:00
monty@donna.mysql.fi
29e300d10f
Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql
2001-04-19 14:44:05 +03:00
sasha@mysql.sashanet.com
34b209db7a
distribution did not include *.sh files in mysql-test/t
2001-04-18 18:01:56 -06:00
monty@donna.mysql.fi
bc6fd0acaa
Added test for PTHREAD_YIELD
...
Removed test of default master parameter
Don't lock locked tables in REPAIR
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
2001-04-18 23:47:11 +03:00
sasha@mysql.sashanet.com
858867fa65
lient/mysqltest.c
...
added support for alphanumeric variables - import MASTER_MYPORT and
SLAVE_MYPORT from the environment
mysql-test/mysql-test-run.sh
export MASTER_MYPORT and SLAVE_MYPORT for mysqltest
mysql-test/t/rpl000015.test
use MASTER_MYPORT
mysql-test/t/rpl000016.test
use MASTER_MYPORT
2001-04-17 23:06:00 -06:00
monty@donna.mysql.fi
77fb94a212
Fixed bugs in mysqltest
2001-04-18 04:23:14 +03:00
monty@donna.mysql.fi
ad7fa1c940
Don't force conf_to_src to be static an all systems
...
Removed unpredictable test from rpl000001.test
2001-04-18 02:53:21 +03:00
serg@serg.mysql.com
13ef4d1db4
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
2001-04-17 14:17:48 +02:00
serg@serg.mysql.com
389a7c0286
bugfix: HAVING MATCH
2001-04-17 14:17:22 +02:00
monty@donna.mysql.fi
4edafca6a3
Fixed that -ldl is not used for clients
...
Fixed rpl000001 to handle the most common mysql-test-run ports.
2001-04-17 14:02:28 +03:00
monty@donna.mysql.fi
1e80c3f3e1
Don't use ranges on HEAP tables with LIKE
...
Don't reconnect client on close
2001-04-17 03:55:25 +03:00
monty@donna.mysql.fi
ac77076ff2
Fixed bug with HEAP tables when using LIKE
2001-04-16 14:05:55 +03:00
tim@threads.polyesthetic.msg
af816a16fc
Merge
2001-04-14 09:38:43 -04:00
tim@threads.polyesthetic.msg
eb320ce7b0
mysql-test-run.sh don't depend on 'tr'
2001-04-14 09:35:42 -04:00
monty@donna.mysql.fi
46839ed2f2
Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql
2001-04-13 12:39:34 +03:00
monty@donna.mysql.fi
8700c02dae
Changed Innobase to Innodb
...
Deleted a lot of old benchmark runs
2001-04-13 12:25:12 +03:00
sasha@mysql.sashanet.com
1915d11bb4
BitKeeper/triggers/post-commit
...
do REAL_EMAIL magic
mysql-test/mysql-test-run.sh
added show_failed_diffs
mysql-test/r/bench_count_distinct.result
tired of waiting :-)
mysql-test/r/rpl000001.result
new test results after implementing Monty's Hack (TM)
mysql-test/t/bench_count_distinct.test
tired of waiting
mysql-test/t/rpl000001.test
implemented Monty's Hack (TM) to kill a query in the middle of update
without generating a table with 30,000 rows. This will also avoice the
timing uncertainty
2001-04-12 13:46:19 -06:00
monty@donna.mysql.fi
714431e3a6
Added intern which functions to benchmarks
2001-04-12 15:46:50 +03:00
sasha@mysql.sashanet.com
16eb5e87a2
merge
2001-04-11 16:49:40 -06:00
sasha@mysql.sashanet.com
b292cdc2e9
mysql-test/t/rpl000015.test
...
reversed incorrect temporary change
2001-04-11 16:36:07 -06:00
sasha@mysql.sashanet.com
2392c3abd7
fixed bugs in the new stuff in rpl000001 test
...
start slave thread if master.info is present and server_id is set
updates for rpl000015 and rpl000016 to remove master.info to make sure
master info struct does not get auto-initialized
2001-04-11 16:29:15 -06:00
monty@donna.mysql.fi
53f518c42d
Fixed bug when using a key on a CHAR(255) NULL column
2001-04-12 00:56:55 +03:00
monty@donna.mysql.fi
dc933ad9d6
Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql
2001-04-11 20:23:31 +03:00
monty@donna.mysql.fi
d2dc65f1b4
Fixed bug in REGEXP for Linux Alpha
2001-04-11 20:19:52 +03:00
sasha@mysql.sashanet.com
102c1945eb
do not log the drop internal temporary tables into the binary log
...
mark killed partially completed updates with an error code in binlog
stop replication if the master reports a possible partial/killed update
test partially killed update
2001-04-10 20:56:54 -06:00
sasha@mysql.sashanet.com
54b9d367f9
Merge work:/home/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-04-10 10:21:27 -06:00
monty@donna.mysql.fi
3c82d4a2e1
Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
2001-04-10 11:32:28 +03:00
sasha@mysql.sashanet.com
30ca82bc98
mysql-test/t/bench_count_distinct.test
...
make table delay key write to speed things up a bit
2001-04-09 18:31:00 -06:00
sasha@mysql.sashanet.com
704567d19e
added gprof options
...
added a benchmark test for count(distinct)
2001-04-09 18:25:06 -06:00
monty@donna.mysql.fi
7f21a7a6da
Fixed INSERT DELAYED with Innobase
...
Fix for shutdown on NT
Fixed bug when using wrong dates from blob field.
2001-04-09 21:08:56 +03:00
sasha@mysql.sashanet.com
fdf19ea879
moved bdb/innobase to compile-pentium-debug-max
...
fixed bug in variable assignment in mysqltest
fixed coredump on conversion from empty blob/text to date
added test case for empty blob conversion to date
2001-04-05 19:04:34 -06:00
monty@donna.mysql.fi
56f4427f32
Cleanup of manual
2001-04-02 02:33:25 +03:00
monty@donna.mysql.fi
65822120f5
Fixed bug in ALTER TABLE
...
Removed _mi_rkey() function
New fork_big.pl multi-thread test
2001-04-01 13:45:48 +03:00
monty@donna.mysql.fi
a49a2e2001
Added check to isolation test if Gemini is used
2001-03-28 04:35:30 +03:00
sasha@mysql.sashanet.com
620010abfc
Merge work:/home/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-03-27 10:24:44 -07:00
sasha@mysql.sashanet.com
ee0f6217ea
I was wrong about concurrent insert issue in rpl000016 - it still failed
...
once after the lock. Now changed test case and added eval support to
mysqltest to make it easier to debug
2001-03-27 10:23:04 -07:00
ccarkner@nslinuxw10.bedford.progress.com
d270ccd737
Created an isolation test for testing isolation levels.
2001-03-27 09:56:45 -05:00
monty@donna.mysql.fi
e5da9a96de
Fixed bug in lock tables introduced by shared locks.
...
New lock test
2001-03-27 13:05:48 +03:00
sasha@mysql.sashanet.com
62e6906bfb
worked around gcc bug to make compile-pentium-gcov work
...
increase coverage for table.cc in mysql_rm_table()
ingore temporary gcov files
fixed bug in replication test case
2001-03-26 21:03:08 -07: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
44c0545ab9
Added test case that crashed Innobase
2001-03-26 13:27:36 +03:00
monty@donna.mysql.fi
5487d7a8c0
Fixed bug in send in mysqltest
...
Removed usage of @r/result as this made life hard when testing different
table handlers.
Allow concurrent inserts if no update/binary log.
Don't remove key_cache at flush tables.
Fixed bug in SELECT DISTINCT SUM()...
2001-03-25 01:02:26 +02: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
sasha@mysql.sashanet.com
2531f38803
added test case for the nasty join query crash
2001-03-23 21:56:18 -07:00