Commit graph

77 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
9ecf9645eb A lot of portability fixes.
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
2003-01-05 20:18:49 +02:00
monty@mashka.mysql.fi
7a70332836 Portability fix when using -DBIG_TABLES 2002-11-14 12:21:36 +02:00
monty@mashka.mysql.fi
dddc20d9d1 New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
monty@mashka.mysql.fi
2aecdd1a91 Big code cleanup/review before 4.0.2 release.
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03: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@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
b658662ae4 Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@bitch.mysql.fi
d0ccff5090 New improved IO_CACHE 2001-11-28 02:55:52 +02:00
monty@hundin.mysql.fi
777fdb5d5c Fixes for embedded version. 2001-11-25 13:50:48 +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
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
008472f373 Fixed problem with "record not found" in BDB tables. 2001-09-14 17:59:05 +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
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
e508ad16f8 Fix for LOCK TABLES and BDB tables 2001-09-08 01:02:41 +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
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
monty@hundin.mysql.fi
de7d371900 Fixed problem with part keys and BDB tables 2001-07-18 11:31:18 +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
monty@donna.mysql.fi
0f37b1244b Fixed portability problems in mysqlcheck 2001-04-21 03:03:08 +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
add70fc1ba Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
(For glibc 2.2)
2001-03-26 01:05:04 +03:00
monty@donna.mysql.fi
c1402e2d5c Fixed bug in MAX() optimizing for BDB tables 2001-03-10 17:05:10 +02:00
monty@donna.mysql.fi
98c70da357 Fixed test cases for innobase
Fixed bug introduced with last ORDER BY optimization
Changed log position to longlong to avoid warnings.
2001-03-07 23:50:44 +02:00
monty@donna.mysql.fi
becf27e6db Removed duplicated index_init() calls that causes problems with BDB
tables.
Merged maxsql.spec with mysql.spec
2001-03-07 14:06:39 +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
monty@donna.mysql.fi
5ccbbd83f2 Fixes for innobase usage
Fixed bug when using TEXT columns with BDB tables
Allow LOAD DATA INFILE to use numbers with ENUM and SET columns
2001-03-03 03:03:12 +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
a7c5b9c211 Portability fixes for OPENBSD, OS2 and Windows 2001-01-27 01:20:56 +02:00
monty@donna.mysql.com
877386602a Added new mutex for hostname lookup
Added free of io_cache when using ALTER TABLE ... ORDER BY
2001-01-23 01:25:07 +02:00
monty@donna.mysql.com
0f28f7a414 keep bk happy 2001-01-22 04:46:32 +02:00
monty@donna.mysql.com
0732f7475e Fixed for bugs that was found when getting full code coverage of BDB
Fixed bug with HEAP tables on windows
Fixed bug with HAVING on empty tables
2001-01-17 03:15:20 +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
12d0f179cd Fixes for mysqltest 2001-01-15 22:56:44 +02:00
monty@donna.mysql.com
94bc7ce8d7 Fixed that --open-files-limit works on Linux 2001-01-14 12:25:30 +02:00
monty@donna.mysql.com
6295e1b195 Added test for innobase
Fixed problem with NULL keys in BDB
2001-01-12 16:40:27 +02:00
monty@donna.mysql.com
9c80d5cb70 Patches for NetBSD/macppc
Fixed bug in LEFT JOIN
Added bdb_log_buffer_size
2001-01-12 13:52:32 +02:00
monty@donna.mysql.com
7541f7212c Fixed bug when opening BDB tables twice 2001-01-02 00:27:08 +02:00
monty@donna.mysql.com
4de5ac3327 Fixed new bug in BDB tables 2000-12-31 11:38:44 +02:00
tim@cane.mysql.fi
f0505c0902 Don't use subtransactions on write_row() and delete_row() in
ha_berkeley.
A few smaller bug fixes.
2000-12-28 19:26:32 +02:00
tim@cane.mysql.fi
a23a5d9860 Merge work.mysql.com:/home/bk/mysql
into cane.mysql.fi:/usr/home/tim/my/work
2000-12-28 04:34:44 +02:00
tim@cane.mysql.fi
be02015b13 Share DB *file; this fixes a deadlock problem.
While we're at it, share the keyfile and keytype arrays, too.
2000-12-28 04:25:31 +02:00
monty@donna.mysql.com
361067e915 Extended mysqltest with --commands and 'require'
Fixed test results.
Added mysqld variable 'have_isam'
2000-12-27 03:31:06 +02:00
tim@cane.mysql.fi
384b371bd2 ha_berkeley.cc - Don't use subtransactions in update_row by default
ha_berkeley.cc	- Use the DB_RMW (read, modify, write) flag when removing a key
ha_berkeley.h	- Don't use subtransactions in update_row by default
sql_table.cc	- Don't use subtransactions in update_row by default
bdb.result	BitKeeper file /usr/home/tim/my/work/mysql-test/r/bdb.result
bdb.test	BitKeeper file /usr/home/tim/my/work/mysql-test/t/bdb.test
2000-12-26 17:16:49 +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
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
5cce198b69 Fixed error when copying mysqld_multi
Fixes for mysql-test
Fixed race condition in SHOW LOGS
2000-12-16 23:41:45 +02:00
tim@cane.mysql.fi
a6d703b73a Fix berkeley_show_logs(). 2000-12-15 14:33:22 +02:00
tim@cane.mysql.fi
7bff1dd4db Add SHOW LOGS command. 2000-12-15 13:18:52 +02:00
monty@donna.mysql.com
10693572ed Fixed delete in tables with hidden primary key
Remove not used BDB logs on shutdown
Don't give warnings for repair on slaves
Fixed transaction log files
2000-12-12 04:34:56 +02:00