Commit graph

464 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
2c4fa340cc Lots of code fixes to the replication code (especially the binary logging and index log file handling)
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +03:00
heikki@hundin.mysql.fi
042facc475 Many files:
Merge InnoDB-3.23.52d
2002-08-06 22:59:13 +03:00
heikki@hundin.mysql.fi
c282b73ad8 os0thread.c:
Remove the complex typecast used to convert a HP-UX pthread struct to os_thread_id_t; the typecast seemed to work wrong in gcc-3.1 on HP-UX-10.20
2002-08-03 21:53:42 +03:00
heikki@hundin.mysql.fi
7b4869d9a4 Many files:
Merge InnoDB-3.23.52c
ha_innobase.cc:
  Test the ref length sanity also in the production version
2002-08-02 23:16:19 +03:00
monty@hundin.mysql.fi
4f56ed82ec Innodb fixes:
Added back 'static inline', as not having this caused more problems than having it
Fixed wrong arguments to printf()
2002-08-01 00:37:27 +03:00
monty@hundin.mysql.fi
6899a4e30b Fixed wrong printf() string in InnoDB
Removed some compiler warnings regarding 'static' from InnoDB
2002-07-31 18:02:24 +03:00
heikki@hundin.mysql.fi
bbb8125a2c Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
2002-07-31 00:47:20 +03:00
heikki@hundin.mysql.fi
1ea4690b70 dyn0dyn.ic, dyn0dyn.h:
Backport the AIX crash fix changes from 4.0
2002-07-26 18:25:16 +03:00
heikki@hundin.mysql.fi
4b2f5cce80 row0vers.c:
Add diagnostic code to track a probable table corruption reported by a user
2002-07-25 22:51:43 +03:00
monty@mashka.mysql.fi
bc035c71f1 Merge with 3.23.51
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03: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
heikki@hundin.mysql.fi
07711a6ead os0thread.c, configure.in:
Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
2002-07-23 04:24:09 +03:00
heikki@hundin.mysql.fi
8dd4327ff8 univ.i:
Fix a bug in the storage of the SQL NULL value in 64-bit computers: the value code must fit in 32 bits
2002-07-23 01:59:43 +03:00
heikki@hundin.mysql.fi
f753fdd32f row0ins.c:
Move the assertion in foreign keys to the right place
2002-07-21 13:17:49 +03:00
heikki@hundin.mysql.fi
3c29c48964 dict0dict.c:
Revert the test changes to wait for a full push of new auto-inc algorithm
2002-07-21 13:09:57 +03:00
heikki@hundin.mysql.fi
51c80faed2 row0ins.c:
Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
dict0dict.c:
  test
2002-07-21 12:58:14 +03:00
heikki@hundin.mysql.fi
5b76647205 fil0fil.c:
Align a buffer for i/o from a raw device
2002-07-19 18:49:25 +03:00
heikki@hundin.mysql.fi
d7f2152b9e os0file.c:
Fix a bug in the previous commit change and align also the buffer in simulataled aio for possible use in i/o to raw devices
2002-07-19 17:09:40 +03:00
heikki@hundin.mysql.fi
2568a3b762 os0file.c:
Align the buffer used in initing a data file to zero; this may be needed if the data file is actually a raw device
2002-07-19 08:33:52 +03:00
heikki@hundin.mysql.fi
80e14f5b51 os0thread.h, srv0srv.c:
Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
2002-07-16 13:59:24 +03:00
heikki@hundin.mysql.fi
f5dfd7e41c row0mysql.c:
Forgot to release an x-latch in DROP DATABASE
2002-07-10 19:55:27 +03:00
heikki@hundin.mysql.fi
0f0f9176b4 srv0srv.c:
Protect InnoDB monitor with a mutex
2002-07-09 18:13:59 +03:00
heikki@hundin.mysql.fi
7dce4bd340 srv0srv.c:
Remove debug code
2002-07-08 20:08:16 +03:00
heikki@hundin.mysql.fi
f96f69e403 srv0srv.c:
Eliminate potential division by zero
2002-07-08 20:04:10 +03:00
heikki@hundin.mysql.fi
7390d81f43 Many files:
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
heikki@hundin.mysql.fi
559bc0c12f srv0start.c:
Remove freeing of all memory at shutdown: since we do not exit the i/o-handlers and other threads, we could potentially get a seg fault at shutdown
2002-07-01 12:06:37 +03:00
monty@hundin.mysql.fi
6cb77c6b3e Portability fixes.
Don't free memory from InnoDB at exit (as this may be done before other threads are finnished)
2002-07-01 11:19:17 +03:00
heikki@hundin.mysql.fi
18bb600817 row0ins.c:
The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout
btr0cur.c:
  Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515
2002-07-01 02:19:58 +03:00
monty@hundin.mysql.fi
f87efa928b Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
heikki@hundin.mysql.fi
ded1170888 buf0buf.ic:
Fix a bug: if buffer pool size > 2 GB on a 32-bit computer, we got an assertion failure because >> acted as a division operator (not as a register shift) for a wrapped-over integer value
2002-06-26 21:42:40 +03:00
heikki@hundin.mysql.fi
7a94fdd405 os0file.c:
Crash the server if file flush does not succeed: the database can get corrupt, better to crash it than let it run
2002-06-26 10:09:11 +03:00
heikki@hundin.mysql.fi
0c5ad2d6cb os0sync.c:
Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux
2002-06-22 23:31:51 +03:00
heikki@hundin.mysql.fi
128e872f3c Many files:
Merge 3.23.52
2002-06-22 20:41:14 +03:00
monty@bitch.mysql.fi
268e82a078 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-06-05 23:14:22 +03:00
monty@hundin.mysql.fi
e4130b11c9 removed init_count from IO_CACHE.
Added missing mutex_unlock to slave replication code.
2002-06-05 23:04:38 +03:00
monty@bitch.mysql.fi
0653326ed3 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-06-03 14:43:44 +03:00
monty@hundin.mysql.fi
f5ed8784a2 merge with 3.23.51 2002-05-16 18:20:49 +03:00
heikki@hundin.mysql.fi
59a00868c9 row0mysql.c:
Play safe and set a MySQL 1 - 12 byte BLOB reference to zero except for the length and pointer areas in it
2002-05-09 20:22:26 +03:00
heikki@hundin.mysql.fi
41a1af3b5f row0sel.c:
Monty said an SQL NULL BLOB field must have NULL as the data pointer value
2002-05-09 16:33:12 +03:00
heikki@hundin.mysql.fi
5aa9a391f5 row0mysql.c:
Add some diagnostic code to track BLOB bugs if they were not already fixed with the change in row0sel.c
row0sel.c:
  Fix a seg fault which was caused inside MySQL because InnoDB when returning a BLOB value did not initialize the length and the data pointer of a BLOB whose value is the SQL NULL; also fix a very improbable race condition which could occur if a row with an externally stored BLOB was fetched using the adaptive hash index
2002-05-09 16:13:09 +03:00
heikki@hundin.mysql.fi
9e51d1a5ee row0ins.c:
Fix an assertion failure in row0ins.c line 511 in case of a cascading delete caused by circularly referencing rows, when foreign keys are used
2002-05-02 11:12:49 +03:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +03:00
heikki@hundin.mysql.fi
626f5bff47 univ.i:
Prevent use of X86 assembler when WIN64 defined
2002-04-18 12:03:40 +03:00
heikki@hundin.mysql.fi
c8b5e41791 univ.i:
Make possible switch off X86 assembler usage in Windows: needed for the Itanium port
2002-04-18 10:50:42 +03:00
heikki@hundin.mysql.fi
8da85956dd Many files:
Implement ON DELETE CASCADE and facilitate switching off of UNIQUE constraints and foreign keys
2002-04-18 10:40:32 +03:00
heikki@hundin.mysql.fi
8a8f6be17a os0file.h:
Make sure Posix aio is never even tried to use
2002-04-11 15:51:01 +03:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00
heikki@hundin.mysql.fi
42c6e65c58 sync0rw.ic, ut0byte.ic:
Forgot to merge these to 3.23.50
2002-03-21 18:24:26 +02:00
heikki@hundin.mysql.fi
e90a57aa49 Many files:
Merge InnoDB-3.23.50
2002-03-21 18:03:09 +02:00
monty@bitch.mysql.fi
26875c9cc4 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-03-16 11:31:13 +02:00
sasha@mysql.sashanet.com
aa67831207 merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
Let's hope this did not break anything. Will not push this one until Monty
gets back
2002-03-01 19:36:46 -07:00
heikki@hundin.mysql.fi
4ebd3f9aaf dict0dict.c:
If the string foreign was succeeded by a non-space character, that confused the foreign key syntax parser
2002-02-15 10:39:12 +02:00
monty@hundin.mysql.fi
e070e9a01f merge with 3.23.49 2002-02-14 18:58:24 +02:00
heikki@hundin.mysql.fi
4eb0f28eb7 row0mysql.c:
Add a warning to drop database wait if there are still open handles on a table
2002-02-14 11:30:14 +02:00
heikki@hundin.mysql.fi
57ef5c71b9 dict0dict.h, dict0dict.c, row0mysql.c, ha_innobase.cc:
Add some more safety if MySQL tries to drop a table on which there are open handles
2002-02-14 10:24:27 +02:00
heikki@hundin.mysql.fi
c70be0113b row0mysql.c, sql_db.cc:
Try to make sure DROP DATABASE does not cause a deadlock because we now let InnoDB wait MySQL does not have open handles to tables we drop
2002-02-14 03:45:45 +02:00
monty@hundin.mysql.fi
4abd402b87 merge with 3.23.48 2002-02-11 13:48:59 +02:00
heikki@donna.mysql.fi
522ee5a0cf srv0srv.c:
If the default character set was set to non-latin1 then the collation order of DATA_CHAR and DATA_VARCHAR was not defined, and foreign key system tables did not work, because they contain DATA_VARCHAR columns
2002-02-10 04:50:46 +02:00
heikki@donna.mysql.fi
be90ca5cad dict0crea.c:
Still a little better error message for Harald Fuchs
2002-02-08 23:35:50 +02:00
heikki@donna.mysql.fi
1aa56d1c63 dict0crea.c:
Add some error messages to help in tracking Harald Fuchs' foreign key failure
2002-02-08 23:24:36 +02:00
heikki@donna.mysql.fi
89c2b7fc8e rem0cmp.c:
Prevent a foreign key constraint references between INT columns where the signedness is different
2002-02-07 12:05:02 +02:00
heikki@donna.mysql.fi
aea3c07139 Many files:
Small improvements
row0mysql.c:
  Small improvements + fix the ALTER TABLE problem by introducing a lazy drop table it can use
ha_innobase.cc:
  Some fine-tuning of optimization
2002-02-04 23:55:41 +02:00
monty@hundin.mysql.fi
79796e989f Merge from 3.23.48 tree 2002-01-30 16:37:47 +02:00
heikki@donna.mysql.fi
43439d0c13 btr0cur.c, ha_innobase.cc:
Fine-tune optimization parameters; in small tables the estimates are accurate; in big tables let us not be too optimistic about index selectivity
2002-01-30 16:29:15 +02:00
heikki@donna.mysql.fi
6202aa7c8e mem0mem.c:
Add more diagnostic code to cath possible memory corruption
2002-01-29 22:29:58 +02:00
heikki@donna.mysql.fi
8a7ecfb9e0 page0page.ic:
Add an assert
dyn0dyn.h:
  Reduce stack consumption
2002-01-29 14:16:31 +02:00
heikki@donna.mysql.fi
0c87ad9f8a Many files:
Merge InnoDB-.48
2002-01-28 22:18:49 +02:00
monty@bitch.mysql.fi
31433c98bf Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2002-01-05 12:51:21 +02:00
heikki@donna.mysql.fi
05a18c4c67 ut0mem.c:
Better error message if we hit the max process size in FreeBSD
2002-01-04 04:12:37 +02:00
heikki@donna.mysql.fi
9f5e564fc3 os0file.c:
Add better error message if access rights are wrong
2002-01-04 04:07:31 +02:00
heikki@donna.mysql.fi
1a36012493 srv0start.c:
Fix typo
2002-01-04 03:56:15 +02:00
heikki@donna.mysql.fi
bb49af5e4c os0file.c:
Improve error messages which may occur in installation
2002-01-04 01:35:49 +02:00
monty@hundin.mysql.fi
fd0459a521 merge with 3.23 2002-01-02 21:34:12 +02:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
heikki@donna.mysql.fi
410847fac6 row0mysql.c:
Remove erroneous warning of a duplicate key when the key in a UNIQUE secondary index contains a NULL
2001-12-31 14:41:58 +02:00
heikki@donna.mysql.fi
8c8d5c06aa btr0sea.c:
Eliminate a gcc compiler bug in inlining
2001-12-27 18:43:49 +02:00
heikki@donna.mysql.fi
116ced2f29 os0file.c:
Make os_file_flush to ignore the error we get from a raw device in fsync
2001-12-27 00:56:40 +02:00
heikki@donna.mysql.fi
7f44419d42 log0recv.c:
Print progress info of the applying log records to the database phase in recovery
srv0srv.c:
  Do buffer pool flush and checkpoints more often to make recovery faster
2001-12-24 22:27:11 +02:00
heikki@donna.mysql.fi
e8a3a141c5 data0type.ic, rem0cmp.c:
Allow foreign keys refer between fixed and var length strings
2001-12-22 21:08:25 +02:00
monty@bitch.mysql.fi
ebed55a646 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-12-21 07:44:06 +02:00
monty@hundin.mysql.fi
778058123b merge with 3.23.47 2001-12-21 07:03:03 +02:00
heikki@donna.mysql.fi
2dfa455503 row0ins.c:
Allow equal key values in a unique secondary index if the key value contains an SQL NULL
2001-12-20 22:45:07 +02:00
heikki@donna.mysql.fi
c3a881a672 log0recv.c:
Add warnings to recovery in some cases where log file might be corrupt and consequently recovery can be trusted less than normally
2001-12-20 20:00:39 +02:00
monty@bitch.mysql.fi
60ad422416 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-12-17 23:35:15 +02:00
monty@hundin.mysql.fi
c298f03570 merge with 3.23.47 (DO statement) 2001-12-17 20:47:20 +02:00
heikki@donna.mysql.fi
a6fedfc3d4 ha_innobase.cc, dict0dict.c:
Cleanup
2001-12-17 13:32:22 +02:00
heikki@donna.mysql.fi
e124882ebc dict0mem.c, dict0dict.c, row0mysql.c, dict0mem.h:
Do less statistics calculations for tables
dict0mem.h, row0mysql.c:
  Make calculation of new statistics less frequent, because the statistics in 3.23.44 involves many random disk reads
2001-12-17 13:17:48 +02:00
monty@bitch.mysql.fi
e947c95f0e Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-12-17 03:14:59 +02:00
monty@hundin.mysql.fi
4dbd9e061c Lots of portability fixes.
Fixed shutdown on HPUX.
Fixed bug in query cache.
2001-12-17 03:02:58 +02:00
monty@hundin.mysql.fi
836f1608f7 Merge with 3.23.47 2001-12-15 05:12:21 +02:00
heikki@donna.mysql.fi
d3a221002b dict0crea.c:
Add diagnostic code to find out why foreign key constraint creation sometimes fails
2001-12-14 19:35:31 +02:00
heikki@donna.mysql.fi
04f7dc9278 rem0rec.ic:
Remove a theoretical overrun in adaptive hash index building
2001-12-14 19:15:57 +02:00
heikki@donna.mysql.fi
3c3d967bd2 buf0buf.c:
Eliminate a Purify warning in a multithreaded test: the fields are not protected by a mutex, therefore they can be read uninitialized
2001-12-14 18:50:43 +02:00
monty@bitch.mysql.fi
7136f9b603 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-12-13 22:16:06 +02:00
monty@hundin.mysql.fi
6aeb40bd3f merge 2001-12-13 20:54:20 +02:00
monty@bitch.mysql.fi
240ad72fdb Merge 2001-12-13 03:41:54 +02:00
heikki@donna.mysql.fi
ab550295e9 sync0arr.c:
Increase semaphore wait warning threshold to 240 seconds
2001-12-11 23:45:49 +02:00
heikki@donna.mysql.fi
f08cf9cf61 btr0cur.c:
Improve table cardinality estimate if there are big BLOBs
2001-12-11 23:42:31 +02:00
heikki@donna.mysql.fi
6732573c3c ut0byte.h, ut0byte.c, dict0dict.c:
Make column names non-case-sensitive in referential constraints and put table and database names there in lower case in Windows
2001-12-11 22:45:32 +02:00
monty@hundin.mysql.fi
9ca9fc2283 Fix for MyISAM records > 16M 2001-12-11 20:45:48 +02:00
monty@bitch.mysql.fi
176daf643b Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-12-06 02:38:50 +02:00
monty@hundin.mysql.fi
5c94a16422 merge with 3.23.47 2001-12-06 01:16:28 +02:00
heikki@donna.mysql.fi
8aa82356bf buf0buf.ic, mtr0log.ic:
Add diagnostic code to catch possible space id or page no errors in the log
2001-12-04 17:03:24 +02:00
heikki@donna.mysql.fi
eb883b30a5 log0recv.c:
Add fault tolerance: when a log record contains nonsensical space id or page number, stop log scan there
2001-12-04 16:01:30 +02:00
monty@bitch.mysql.fi
9a17c068b5 Removed purify warning
Remove temporary files before starting mysql-test
2001-11-30 00:48:26 +02:00
monty@hundin.mysql.fi
9265a4df45 merge 2001-11-22 14:40:38 +02:00
heikki@donna.mysql.fi
365bd6eb6e srv0srv.c:
Fix a seg fault if a lock wait timeout is exceeded at the some time someone grants the lock
2001-11-19 13:11:37 +02:00
monty@hundin.mysql.fi
701636ef6e Merge 2001-11-18 14:33:53 +02:00
heikki@donna.mysql.fi
5b54fab6a0 dict0dict.h, dict0dict.c:
Fix wrong (though equivalent) type decl
2001-11-17 14:18:27 +02:00
heikki@donna.mysql.fi
086fe41294 btr0cur.c, btr0btr.c, dict0dict.h, dict0dict.c:
Fix a bug in insert buffer B-tree upper levels; probably caused the crash by B.Fitzpatrick
buf0flu.c:
  Fix a bug in previous change
  A small optimization for LRU flushes to avoid losing hot pages from the buffer pool
2001-11-17 13:48:39 +02:00
heikki@donna.mysql.fi
3ed8188bfb buf0flu.c:
Fix a bug which could cause InnoDB to complain it cannot find free blocks from the buffer cache during recovery
2001-11-14 17:06:04 +02:00
monty@hundin.mysql.fi
30209c1d66 Portability fix.
Fixed linking problem with InnoDB.
2001-11-07 02:30:34 +02:00
monty@hundin.mysql.fi
f9a321af8a merge 2001-11-07 00:19:36 +02:00
jani@hynda.mysql.fi
d0e8306203 Added xml patch to mysqldump.
Made innodb to compile more cleanly with debugging options
enabled. Fixed a few bugs and found a few possible bugs, which
I hope Heikki will check. Comments needs to be fixed too. Some
while() functions should be changed to do ... until for documenting
purposes, because some of them must and will be processed at least
once, or a variable would be used uninitialized.

Regards,
Jani
2001-11-05 23:48:03 +02:00
heikki@donna.mysql.fi
e84ef2b747 updated 2001-11-05 18:50:12 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
0716bf4d0e Portability fixes 2001-10-31 20:28:43 +02:00
monty@hundin.mysql.fi
d89690e606 Portability fixes
Fix for consistent 0000-00-00 date handling
Close + open binary logs on flush tables
Fix for AVG() in HAVING.
2001-10-31 18:27:49 +02:00
heikki@donna.mysql.fi
c9e4b2aab3 row0mysql.c Fix an assertion when an empty database is dropped 2001-10-31 08:37:39 +02:00
heikki@donna.mysql.fi
7f38949c6b os0file.c Replace some / 256 by >> operations 2001-10-30 22:19:38 +02:00
heikki@donna.mysql.fi
dc90091458 srv0srv.c Test if bk now works 2001-10-30 21:22:57 +02:00
monty@donna.mysql.fi
7fcbd7e3da Merge 2001-10-30 17:38:44 +02:00
monty@hundin.mysql.fi
7367545cad Fix for gcc 3.0
Fix for using quoted table names with the SJIS character set.
2001-10-30 16:31:35 +02:00
monty@work.mysql.com
24fe09acb6 merge 2001-10-11 12:09:44 +02:00
monty@hundin.mysql.fi
6a3f93f486 InnoDB portability fixes 2001-10-11 12:49:44 +03:00
monty@hundin.mysql.fi
479f494d55 merge 2001-10-11 04:43:48 +03:00
monty@work.mysql.com
38a4648ad8 merge 2001-10-11 03:43:47 +02:00
monty@hundin.mysql.fi
075a0fbde0 Portability fixes
Fixed bug with long log-filenames in Innobase.
2001-10-11 04:25:00 +03:00
heikki@donna.mysql.fi
1d7747aa25 ut0mem.c Merge changes in InnoDB-3.23.43b
ut0ut.c 	Merge changes in InnoDB-3.23.43b
trx0purge.c	Merge changes in InnoDB-3.23.43b
trx0rec.c	Merge changes in InnoDB-3.23.43b
trx0trx.c	Merge changes in InnoDB-3.23.43b
trx0undo.c	Merge changes in InnoDB-3.23.43b
thr0loc.c	Merge changes in InnoDB-3.23.43b
sync0arr.c	Merge changes in InnoDB-3.23.43b
sync0rw.c	Merge changes in InnoDB-3.23.43b
sync0sync.c	Merge changes in InnoDB-3.23.43b
srv0srv.c	Merge changes in InnoDB-3.23.43b
srv0start.c	Merge changes in InnoDB-3.23.43b
row0ins.c	Merge changes in InnoDB-3.23.43b
row0mysql.c	Merge changes in InnoDB-3.23.43b
row0purge.c	Merge changes in InnoDB-3.23.43b
row0sel.c	Merge changes in InnoDB-3.23.43b
row0umod.c	Merge changes in InnoDB-3.23.43b
row0upd.c	Merge changes in InnoDB-3.23.43b
row0vers.c	Merge changes in InnoDB-3.23.43b
rem0cmp.c	Merge changes in InnoDB-3.23.43b
que0que.c	Merge changes in InnoDB-3.23.43b
pars0opt.c	Merge changes in InnoDB-3.23.43b
pars0pars.c	Merge changes in InnoDB-3.23.43b
lexyy.c 	Merge changes in InnoDB-3.23.43b
pars0grm.c	Merge changes in InnoDB-3.23.43b
page0page.c	Merge changes in InnoDB-3.23.43b
os0file.c	Merge changes in InnoDB-3.23.43b
mtr0log.c	Merge changes in InnoDB-3.23.43b
mem0pool.c	Merge changes in InnoDB-3.23.43b
log0log.c	Merge changes in InnoDB-3.23.43b
log0recv.c	Merge changes in InnoDB-3.23.43b
lock0lock.c	Merge changes in InnoDB-3.23.43b
ibuf0ibuf.c	Merge changes in InnoDB-3.23.43b
fil0fil.c	Merge changes in InnoDB-3.23.43b
dict0crea.c	Merge changes in InnoDB-3.23.43b
dict0dict.c	Merge changes in InnoDB-3.23.43b
dict0load.c	Merge changes in InnoDB-3.23.43b
dict0mem.c	Merge changes in InnoDB-3.23.43b
data0data.c	Merge changes in InnoDB-3.23.43b
data0type.c	Merge changes in InnoDB-3.23.43b
buf0buf.c	Merge changes in InnoDB-3.23.43b
buf0lru.c	Merge changes in InnoDB-3.23.43b
btr0btr.c	Merge changes in InnoDB-3.23.43b
btr0cur.c	Merge changes in InnoDB-3.23.43b
btr0pcur.c	Merge changes in InnoDB-3.23.43b
btr0sea.c	Merge changes in InnoDB-3.23.43b
data0type.ic	Merge changes in InnoDB-3.23.43b
dict0dict.ic	Merge changes in InnoDB-3.23.43b
mtr0mtr.ic	Merge changes in InnoDB-3.23.43b
row0upd.ic	Merge changes in InnoDB-3.23.43b
sync0ipm.ic	Merge changes in InnoDB-3.23.43b
sync0rw.ic	Merge changes in InnoDB-3.23.43b
sync0sync.ic	Merge changes in InnoDB-3.23.43b
trx0rseg.ic	Merge changes in InnoDB-3.23.43b
btr0pcur.ic	Merge changes in InnoDB-3.23.43b
buf0buf.ic	Merge changes in InnoDB-3.23.43b
data0data.ic	Merge changes in InnoDB-3.23.43b
row0upd.h	Merge changes in InnoDB-3.23.43b
srv0srv.h	Merge changes in InnoDB-3.23.43b
sync0arr.h	Merge changes in InnoDB-3.23.43b
sync0rw.h	Merge changes in InnoDB-3.23.43b
sync0sync.h	Merge changes in InnoDB-3.23.43b
trx0trx.h	Merge changes in InnoDB-3.23.43b
ut0mem.h	Merge changes in InnoDB-3.23.43b
data0data.h	Merge changes in InnoDB-3.23.43b
data0type.h	Merge changes in InnoDB-3.23.43b
db0err.h	Merge changes in InnoDB-3.23.43b
dict0crea.h	Merge changes in InnoDB-3.23.43b
dict0dict.h	Merge changes in InnoDB-3.23.43b
dict0load.h	Merge changes in InnoDB-3.23.43b
dict0mem.h	Merge changes in InnoDB-3.23.43b
dict0types.h	Merge changes in InnoDB-3.23.43b
fil0fil.h	Merge changes in InnoDB-3.23.43b
ibuf0ibuf.h	Merge changes in InnoDB-3.23.43b
lock0lock.h	Merge changes in InnoDB-3.23.43b
log0log.h	Merge changes in InnoDB-3.23.43b
mtr0mtr.h	Merge changes in InnoDB-3.23.43b
rem0cmp.h	Merge changes in InnoDB-3.23.43b
row0ins.h	Merge changes in InnoDB-3.23.43b
row0mysql.h	Merge changes in InnoDB-3.23.43b
btr0cur.h	Merge changes in InnoDB-3.23.43b
btr0pcur.h	Merge changes in InnoDB-3.23.43b
btr0sea.h	Merge changes in InnoDB-3.23.43b
buf0buf.h	Merge changes in InnoDB-3.23.43b
sql_table.cc	Merge changes in InnoDB-3.23.43b
sql_db.cc	Merge changes in InnoDB-3.23.43b
ha_innobase.cc	Merge changes in InnoDB-3.23.43b
handler.cc	Merge changes in InnoDB-3.23.43b
ha_innobase.h	Merge changes in InnoDB-3.23.43b
handler.h	Merge changes in InnoDB-3.23.43b
2001-10-10 22:47:08 +03:00
monty@hundin.mysql.fi
88aff4bf85 Updated manual about embedded version.
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
monty@hundin.mysql.fi
12aa7e5e84 Fix for make dist 2001-09-29 15:37:53 +03:00
monty@work.mysql.com
fde15863ab Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-22 16:40:57 +02:00
heikki@donna.mysql.fi
df1045ee3c os0sync.c Define os_fast_mutex functions also in Windows 2001-09-20 21:43:58 +03:00
heikki@donna.mysql.fi
e2389946dd os0sync.h Define os_fast_mutex functions also in Windows
os0sync.ic	Define os_fast_mutex functions also in Windows
2001-09-20 21:38:46 +03:00
heikki@donna.mysql.fi
0b064c3b09 univ.i Changes to eliminate unnecessary Purify warnings (documentation of flag UNIV_SET_MEM_TO_ZERO) 2001-09-20 21:14:49 +03:00
heikki@donna.mysql.fi
59f9fc4fe2 mem0mem.ic Changes to eliminate unnecessary Purify warnings
ut0mem.h	Changes to eliminate unnecessary Purify warnings
ut0mem.ic	Changes to eliminate unnecessary Purify warnings
srv0start.c	Changes to eliminate unnecessary Purify warnings
mem0pool.c	Changes to eliminate unnecessary Purify warnings
ut0mem.c	Changes to eliminate unnecessary Purify warnings
2001-09-20 21:04:48 +03:00
monty@work.mysql.com
eb9cbe2cba merge 2001-09-17 23:26:00 +02:00
heikki@donna.mysql.fi
af171ae375 log0log.c Eliminate a Purify warning
buf0buf.c	Fix uninitilaized flush field noticed with Purify
2001-09-17 18:17:38 +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
heikki@donna.mysql.fi
6fac59e501 data0data.c Fix an assertion failure in rem0rec.c line 195 when a > 8000 byte row is updated and an internally stored field shortened 2001-09-05 20:29:34 +03:00
heikki@donna.mysql.fi
3aac9b209e lock0lock.c Fix slowness of deadlock detection algorithm
trx0trx.h	Fix slowness of deadlock detection algorithm
2001-09-05 18:21:21 +03:00
heikki@donna.mysql.fi
d2999b49f4 buf0flu.c Testing if the file is ok in Bitkeeper 2001-08-29 19:59:01 +03:00
heikki@donna.mysql.fi
1311f7ce16 trx0roll.c Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0sys.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0trx.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0mysql.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0purge.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0sel.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0uins.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0umod.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
row0upd.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
srv0srv.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
srv0start.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
sync0arr.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
fil0fil.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
ibuf0ibuf.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
lock0lock.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
os0file.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0btr.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0cur.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0sea.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
buf0buf.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
data0data.c	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
srv0srv.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0sys.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
trx0trx.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
btr0cur.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
buf0buf.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
data0data.h	Fix the primary key update + BLOB bug, improve InnoDB Monitor prints
ha_innobase.cc	Fix the auto-inc+REPLACE+replication bug, improve InnoDB Monitor prints
2001-08-29 19:42:23 +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
df71c22417 sync0sync.c This inline assmebly does not compile on gcc-2.96 and Intel: remove it 2001-08-15 14:11:56 +03: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
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
heikki@donna.mysql.fi
70455174f0 ibuf0ibuf.c Fix a potential hang in database shutdown (not known if there is such, but let us play safe) 2001-08-10 01:12:42 +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
heikki@donna.mysql.fi
589bb2c0a6 row0upd.c Fix a memory overwrite which can happen if we update or delete a > 8000-byte row 2001-08-08 22:31:44 +03:00
heikki@donna.mysql.fi
c3cc2243a5 trx0purge.c Fix a bug which might stop purge from running
buf0flu.c	Add an include to fix compile problem in non-inlined version
2001-08-08 21:35:43 +03:00
heikki@donna.mysql.fi
94db78ce61 srv0srv.h Support raw disk partitions as data files
srv0start.c	Support raw disk partitions as data files
srv0srv.c	Support raw disk partitions as data files
row0purge.c	< 4 GB rows, doublewrite, hang fixes
row0row.c	< 4 GB rows, doublewrite, hang fixes
row0sel.c	< 4 GB rows, doublewrite, hang fixes
row0uins.c	< 4 GB rows, doublewrite, hang fixes
row0umod.c	< 4 GB rows, doublewrite, hang fixes
row0undo.c	< 4 GB rows, doublewrite, hang fixes
row0upd.c	< 4 GB rows, doublewrite, hang fixes
srv0srv.c	< 4 GB rows, doublewrite, hang fixes
srv0start.c	< 4 GB rows, doublewrite, hang fixes
sync0rw.c	< 4 GB rows, doublewrite, hang fixes
sync0sync.c	< 4 GB rows, doublewrite, hang fixes
trx0purge.c	< 4 GB rows, doublewrite, hang fixes
trx0rec.c	< 4 GB rows, doublewrite, hang fixes
trx0sys.c	< 4 GB rows, doublewrite, hang fixes
btr0btr.c	< 4 GB rows, doublewrite, hang fixes
btr0cur.c	< 4 GB rows, doublewrite, hang fixes
buf0buf.c	< 4 GB rows, doublewrite, hang fixes
buf0flu.c	< 4 GB rows, doublewrite, hang fixes
buf0rea.c	< 4 GB rows, doublewrite, hang fixes
data0data.c	< 4 GB rows, doublewrite, hang fixes
fil0fil.c	< 4 GB rows, doublewrite, hang fixes
fsp0fsp.c	< 4 GB rows, doublewrite, hang fixes
ibuf0ibuf.c	< 4 GB rows, doublewrite, hang fixes
lock0lock.c	< 4 GB rows, doublewrite, hang fixes
log0log.c	< 4 GB rows, doublewrite, hang fixes
log0recv.c	< 4 GB rows, doublewrite, hang fixes
os0file.c	< 4 GB rows, doublewrite, hang fixes
page0cur.c	< 4 GB rows, doublewrite, hang fixes
pars0pars.c	< 4 GB rows, doublewrite, hang fixes
rem0cmp.c	< 4 GB rows, doublewrite, hang fixes
rem0rec.c	< 4 GB rows, doublewrite, hang fixes
row0ins.c	< 4 GB rows, doublewrite, hang fixes
row0mysql.c	< 4 GB rows, doublewrite, hang fixes
univ.i  	< 4 GB rows, doublewrite, hang fixes
data0data.ic	< 4 GB rows, doublewrite, hang fixes
mach0data.ic	< 4 GB rows, doublewrite, hang fixes
rem0rec.ic	< 4 GB rows, doublewrite, hang fixes
row0upd.ic	< 4 GB rows, doublewrite, hang fixes
trx0rec.ic	< 4 GB rows, doublewrite, hang fixes
rem0cmp.h	< 4 GB rows, doublewrite, hang fixes
rem0rec.h	< 4 GB rows, doublewrite, hang fixes
row0ins.h	< 4 GB rows, doublewrite, hang fixes
row0mysql.h	< 4 GB rows, doublewrite, hang fixes
row0row.h	< 4 GB rows, doublewrite, hang fixes
row0upd.h	< 4 GB rows, doublewrite, hang fixes
srv0srv.h	< 4 GB rows, doublewrite, hang fixes
sync0sync.h	< 4 GB rows, doublewrite, hang fixes
trx0rec.h	< 4 GB rows, doublewrite, hang fixes
trx0sys.h	< 4 GB rows, doublewrite, hang fixes
trx0types.h	< 4 GB rows, doublewrite, hang fixes
trx0undo.h	< 4 GB rows, doublewrite, hang fixes
ut0dbg.h	< 4 GB rows, doublewrite, hang fixes
ut0ut.h 	< 4 GB rows, doublewrite, hang fixes
btr0btr.h	< 4 GB rows, doublewrite, hang fixes
btr0cur.h	< 4 GB rows, doublewrite, hang fixes
buf0buf.h	< 4 GB rows, doublewrite, hang fixes
buf0flu.h	< 4 GB rows, doublewrite, hang fixes
data0data.h	< 4 GB rows, doublewrite, hang fixes
dict0mem.h	< 4 GB rows, doublewrite, hang fixes
fil0fil.h	< 4 GB rows, doublewrite, hang fixes
fsp0fsp.h	< 4 GB rows, doublewrite, hang fixes
os0file.h	< 4 GB rows, doublewrite, hang fixes
2001-08-04 19:36:14 +03:00
heikki@donna.mysql.fi
cc35360696 row0sel.c Remove a possible cause of the Peter Zaitsev hang 2001-07-20 20:58:58 +03:00
heikki@donna.mysql.fi
20d0a09002 dict0dict.ic Remove acquisition of the dictionary mutex: this may fix the hang observed by Peter Zaitsev
os0file.c	Use O_SYNC instead of O_DSYNC because in Linux there may be a bug
2001-07-20 19:01:23 +03:00
heikki@donna.mysql.fi
147c51b59b row0sel.c Disable a special join speed optimization until Peter Zaitsev's hang is tracked down 2001-07-20 00:32:41 +03:00
heikki@donna.mysql.fi
b534cd6608 srv0start.c Remove old code 2001-07-19 23:00:42 +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
heikki@donna.mysql.fi
7f6e4a78ca univ.i Added a new debug define option
sync0sync.ic	Do not use GCC in-line assembly
srv0start.h	Eliminate a deadlock of threads at startup
buf0buf.h	Add some debug functions
srv0start.c	Remove a printf
2001-06-24 20:09:41 +03:00
heikki@donna.mysql.fi
9187316332 sync0sync.c Do not use in-line assembly in GCC
srv0start.c	Eliminate a deadlock of threads at startup
row0mysql.c	Several bug fixes
row0umod.c	Several bug fixes
row0upd.c	Several bug fixes
os0file.c	Revert back to fsync as default flush method
log0recv.c	Several bug fixes
ibuf0ibuf.c	Several bug fixes
fsp0fsp.c	Several bug fixes
trx0undo.c	Put some assertions to uncover possible bugs
dict0boot.c	Several bug fixes
2001-06-24 19:51:20 +03:00
heikki@donna.mysql.fi
fbd725063f buf0buf.c Several bug fixes
buf0flu.c	Several bug fixes
buf0rea.c	Several bug fixes
buf0lru.c	Clearer error message
2001-06-24 19:33:50 +03:00
heikki@donna.mysql.fi
dc1cc4f7ae btr0pcur.c Fix a bug in persistent cursor restoration: this could cause crashes especially if the buffer pool is small 2001-06-23 22:25:47 +03:00
heikki@donna.mysql.fi
2c693033d2 fsp0fsp.c Fix a bug in freeing of a segment in the tablespace 2001-06-19 22:44:43 +03:00
heikki@donna.mysql.fi
67c8e5784b row0mysql.c Include rem0cmp.h to compile on Windows, on Unix it is for some reason included 2001-06-13 14:53:45 +03:00
monty@hundin.mysql.fi
16d50ca46d merge 2001-06-12 22:05:51 +03:00
monty@hundin.mysql.fi
72537f3134 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-06-12 22:02:51 +03:00
monty@hundin.mysql.fi
36891dcb47 Fixed changelog 2001-06-12 22:02:32 +03:00
heikki@donna.mysql.fi
21b36f0593 univ.i Disable XCHG mutex implementation because of compile problem in GCC-2.96 2001-06-12 21:10:42 +03:00
heikki@donna.mysql.fi
ce765fb925 row0sel.c Fix a bug in consistent read through a secondary index 2001-06-08 18:03:24 +03:00
heikki@donna.mysql.fi
82e57a3edd trx0roll.c Changed Innobase to Innodb in some fprintfs
trx0sys.c	Changed Innobase to Innodb in some fprintfs
2001-06-07 20:24:53 +03:00
heikki@donna.mysql.fi
624c57e26e page0cur.ic Fix a bug in insert buffer and multiversioning
manual.texi	Changed innodb_unix_file_flush_method to innodb_flush_method in the manual
2001-06-07 17:32:02 +03:00
heikki@donna.mysql.fi
2f302c44d9 mem0pool.h Fix a bus error in aligment of longlong on Solaris 2001-06-05 21:49:03 +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
heikki@donna.mysql.fi
d3d9bc9488 sync0sync.ic Had deleted inadvertently lock word = 0 from the non-gcc+i86 case in mutex_reset_lock_word 2001-05-31 15:59:03 +03:00
heikki@donna.mysql.fi
c476d8d122 sync0sync.ic Use XCHG also to reset the mutex lock word: it makes a serialization point to code on Intel and gives more safety 2001-05-31 15:23:40 +03:00
monty@hundin.mysql.fi
be188b117b Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-05-31 12:19:16 +03:00
monty@hundin.mysql.fi
6a387c7cdf Added functions for symbolic link handling to make it possible to
backport things from 4.0. This is safe as the functions are not used!
Fixed bug in new mutex handling in InnoDB
Make allow_break() and dont_break() defines.
2001-05-31 12:18:53 +03:00
heikki@donna.mysql.fi
96176f16a3 ut0ut.c If localtime_r not available in Unix, use localtime
configure.in	If localtime_r not available in Unix, use localtime
2001-05-29 15:07:41 +03:00
heikki@donna.mysql.fi
b3675fc5f7 sync0sync.ic InnoDB now uses XCHG to implement mutex if GCC and x86
configure.in	InnoDB now uses XCHG to implement mutex if GCC and x86
2001-05-26 21:58:59 +03:00
heikki@donna.mysql.fi
0703dba10d ut0ut.c Rewrote ut_print_timestamp with localtime_r and in Win GetLocalTime 2001-05-24 22:59:32 +03:00
heikki@donna.mysql.fi
125b4bd6ba log0log.c InnoDB now prints timestamp at startup and shutdown
srv0start.c	InnoDB now prints timestamp at startup and shutdown
ut0ut.h 	InnoDB now prints timestamp at startup and shutdown
ut0ut.c 	InnoDB now prints timestamp at startup and shutdown
2001-05-24 22:35:14 +03:00
heikki@donna.mysql.fi
221b1ea5a4 log0log.c InnoDB now allows parameter innodb_unix_file_flush_method
os0file.c	InnoDB now allows parameter innodb_unix_file_flush_method
srv0start.c	InnoDB now allows parameter innodb_unix_file_flush_method
2001-05-23 20:19:56 +03:00
heikki@donna.mysql.fi
587df0036a srv0srv.h One can now specify innodb_unix_file_flush_method in my.cnf
srv0srv.c	One can now specify innodb_unix_file_flush_method in my.cnf
srv0start.c	One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.cc	One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.h	One can now specify innodb_unix_file_flush_method in my.cnf
mysqld.cc	One can now specify innodb_unix_file_flush_method in my.cnf
2001-05-23 18:04:49 +03:00
heikki@donna.mysql.fi
546c6eb3db dict0dict.h InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.h	InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.h	InnoDB now tries to provide autoinc column value from a counter table in data dict
univ.i  	InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0dict.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
ha_innobase.cc	InnoDB now tries to provide autoinc column value from a counter table in data dict
2001-05-21 19:04:46 +03:00
heikki@donna.mysql.fi
1970e436a2 manual.texi Added that InnoDB tablespace must be at least 10 MB, removed single quotes from phantom
srv0start.c	Tablespace size must be at least 10 MB
2001-05-21 16:28:27 +03:00
heikki@donna.mysql.fi
8ad8407238 os0file.h Define always WIN_ASYNC_IO, check at run-time if the OS actually supports it 2001-05-20 20:32:37 +03:00
heikki@donna.mysql.fi
f26d163f4d os0file.h InnoDB should now run with the same binary on Win95 and NT: checks OS version
srv0start.c	InnoDB should now run with the same binary on Win95 and NT: checks OS version
2001-05-20 20:24:02 +03:00
heikki@donna.mysql.fi
b13196387d os0file.c Removed extraneous fsync and corected a typo in Windows code
os0file.c	Changed file write buffer size in os_file_set_size from 16 MB to 8 MB
2001-05-20 20:22:23 +03:00
heikki@donna.mysql.fi
1805de7011 ibuf0ibuf.c Insert buffer calculated SQL NULL size wrong, causing overflow and assertion failure in some cases
log0log.c	Retrieve a dummy value from a function to prevent gcc crashing on HP-UX
2001-05-18 21:20:03 +03:00
heikki@donna.mysql.fi
228a4a8550 os0file.c Fixed an extraneous error message at the start of db, changed from O_SYNC back to fdatasync because extremely slow on Sun 2001-05-16 19:12:47 +03:00
heikki@donna.mysql.fi
b48ed7db1b os0file.c More precise error message number
ut0dbg.h	Changed Innobase->InnoDB
os0file.c	InnoDB prints now the number of OS error in a file operation
2001-05-15 19:53:35 +03:00
heikki@donna.mysql.fi
eac8cbf6dd row0undo.c Fix a bug if we run out of space in the tablespace assertion in trx0roll.c 2001-05-14 22:27:29 +03:00
heikki@donna.mysql.fi
0f24c9fcee os0file.c Use O_SYNC if possible, second choice fdatasync, and last choice fsync
configure.in	Check if fdatasync exists
manual.texi	Updated defragmenting doc
manual.texi	Corrected fillfactor contract threashold for a page to 1/2
2001-05-14 17:45:38 +03:00
monty@donna.mysql.fi
10920d0be1 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-05-12 01:01:27 +03:00
monty@donna.mysql.fi
369ea3bb8e cleanup 2001-05-12 01:00:46 +03:00
heikki@donna.mysql.fi
2c5bbb1c1a Merge heikki@work.mysql.com:/home/my/mysql
into donna.mysql.fi:/home/heikki/mysqle
2001-05-09 23:09:17 +03:00
heikki@donna.mysql.fi
5829aec02d row0sel.c Fix a bug in consistent read through secondary key 2001-05-09 23:06:52 +03: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
heikki@donna.mysql.fi
6415f07c7b row0umod.c Partial fix to concurrent drop table and rollback by other user of rows in that table
row0uins.c	Partial fix to concurrent drop table and rollback by other user of rows in that table
2001-05-03 18:26:19 +03:00
heikki@donna.mysql.fi
2090d65134 univ.i Do not inline on Unix if non-gcc compiler 2001-05-03 15:22:43 +03:00
heikki@donna.mysql.fi
afbc2c8e7c os0file.c Removed extraneous undef and inclde of aio.h, fixed typecasts to off_t
os0file.c	Removed unnecessary code from os_file_read
2001-05-03 14:16:11 +03:00
heikki@donna.mysql.fi
7eb3c45757 row0sel.c Fixed a typo in the fix to consistent read through a secondary index 2001-05-02 18:05:15 +03:00
heikki@donna.mysql.fi
8dba7dc06a log0recv.c Add checksum to written pages to check that they are also read in unchanged
buf0buf.h	Add checksum to written pages to check that they are also read in unchanged
buf0flu.c	Add checksum to written pages to check that they are also read in unchanged
buf0buf.c	Add checksum to written pages to check that they are also read in unchanged
2001-05-01 20:57:49 +03:00
heikki@donna.mysql.fi
af27c38ff6 row0sel.c Fix a bug in multiversioned reads through a secondary index
row0uins.c	Partial fix to the DROP TABLE + another user rolls back in that table problem
row0umod.c	Partial fix to the DROP TABLE + another user rolls back in that table problem
os0file.c	Reduce probability of deadlock bugs in connection with ibuf: do not let the ibuf i/o handler sleep
2001-04-27 21:12:15 +03:00
heikki@donna.mysql.fi
0f9a30ab86 os0file.c Always do fsync after a file write to reduce possibility of a partially written page in an OS crash
buf0rea.c	Fixed a recovery hang associated with ibuf bitmap pages
2001-04-26 16:36:59 +03:00
heikki@donna.mysql.fi
ea4365622d os0sync.c Eliminate compiler warning in Win 2001-04-24 20:55:25 +03:00
heikki@donna.mysql.fi
f9afb65908 os0file.c Fix to the error message 2001-04-24 16:40:18 +03:00
heikki@donna.mysql.fi
96d6b55077 os0file.c Added better error message if disk is full; calls exit(1) 2001-04-24 16:38:08 +03:00
heikki@donna.mysql.fi
b2fa0010b6 univ.i If _NT_ defined, define also __NT__ 2001-04-24 16:24:10 +03:00
heikki@donna.mysql.fi
d78f77a324 os0file.c Remove a compilation error on Windows 2001-04-24 15:30:41 +03:00
monty@donna.mysql.fi
97c3927679 Portability fixes 2001-04-23 03:28: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
3876d83ec1 Moved things to configure.in 2001-04-19 15:25:03 +03:00
monty@donna.mysql.fi
566f82369c Portability fixes 2001-04-19 14:43:32 +03:00
monty@donna.mysql.fi
f113a7fd64 merge 2001-04-18 23:49:25 +03: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
heikki@donna.mysql.fi
e593714e6b os0thread.c Change pthread_yield to sched_yield
univ.i  	Change pthread_yield to sched_yield
configure.in	Change pthread_yield to sched_yield
2001-04-18 17:23:06 +03:00
monty@donna.mysql.fi
bc7731c0c7 Changed -O6 to -O3
Portability fix for Innodb
2001-04-13 22:09:33 +03:00
heikki@donna.mysql.fi
fc6dcf4df7 log0recv.c Change Innobase text to InnoDB
log0log.c	Change Innobase text to InnoDB
srv0start.c	Change Innobase text to InnoDB
srv0srv.c	Change Innobase text to InnoDB
ha_innobase.cc	Change Innobase text to InnoDB
2001-04-13 16:36:54 +03:00
heikki@donna.mysql.fi
6fa6f331fe os0file.c Change pwrite to os_file_pwrite to allow compilation if no pwrite 2001-04-11 21:47:51 +03:00
heikki@donna.mysql.fi
4709a1721a srv0srv.h Merging work for 3.23.37
os0thread.c	Set created thread priority to QUERY_PRIOR if specified
row0mysql.c	Drop table removes locks on the table, error handling changed
row0ins.c	Insert now always sets a shared lock on a duplicate or suspected duplicate record
lock0lock.h	Can remove locks from a table to be dropped
lock0lock.c	Can remove locks from a table to be dropped
srv0srv.c	Try to do log flush every second
srv0start.c	No need for a slash at the end of dir
trx0trx.h	Added an IGNORE option field to trx handle
trx0trx.c	Added an IGNORE option field to trx handle
ha_innobase.h	Added last_query_id field to handle
ha_innobase.cc	Fix drop table hang, roll-forward etc.
2001-04-10 21:58:07 +03: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
heikki@donna.mysql.fi
ae05b07fb7 univ.i Prevent inlining of functions on HP-UX because GCC is broken there
configure.in	Prevent inlining of functions on HP-UX because GCC is broken there
trx0trx.h	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
trx0trx.c	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
ha_innobase.cc	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
2001-04-06 20:37:31 +03:00
heikki@donna.mysql.fi
3dec2b5c98 ut0dbg.h Print a better error message when an assertion fails 2001-04-05 21:52:59 +03:00
heikki@donna.mysql.fi
ed2d947b7f os0thread.c Fix os_thread_sleep: did not work if over 1000000 microsecs; caused slowness at least on Solaris and FreeBSD 2001-04-04 20:34:54 +03:00
heikki@donna.mysql.fi
e6765fdcc8 sync0sync.c Fix the infinite spin on FreeBSD
os0thread.c	Use pthread_yield instead of os_thread_sleep(0)
2001-04-04 16:30:46 +03:00
heikki@donna.mysql.fi
719acf0acb log0log.c Failure to create or open the archive log file now results in exit(1)
ut0dbg.h	Innobase now prints the line and file of an assertion failure
2001-03-27 20:19:15 +03:00
heikki@donna.mysql.fi
d03b4308b4 os0thread.c Added &attr to os_thread_create to get in compile on HP-UX 2001-03-27 20:00:23 +03:00
heikki@donna.mysql.fi
7a13c25f80 data0data.c Small changes to eliminate some asserts in the debug version
data0type.c	Small changes to eliminate some asserts in the debug version
data0type.ic	Small changes to eliminate some asserts in the debug version
2001-03-27 15:54:05 +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
2ff0334c23 Fixed problem with Innobase and signals on Solaris 2001-03-26 02:01:05 +03:00
heikki@donna.mysql.fi
a1e6710b96 buf0buf.c Fixed a race condition in buf0lru and btr0sea which could corrupt the LRU list
buf0lru.c	Fixed a race condition in buf0lru and btr0sea which could corrupt the LRU list
2001-03-16 00:22:21 +02:00
heikki@donna.mysql.fi
dc95f5652e os0thread.c Use pthread_attr_init instead of ..._create 2001-03-14 22:11:16 +02:00
heikki@donna.mysql.fi
732d702fd8 srv0srv.c Eliminate another warning on HP-UX 2001-03-14 21:55:18 +02:00
heikki@donna.mysql.fi
181a9ac9b9 srv0start.c Eliminate wrong type calls of os_thread_create
srv0srv.c	Eliminate wrong type calls of os_thread_create
2001-03-14 21:27:30 +02:00
heikki@donna.mysql.fi
8024423df7 page0types.h Eliminate a name collision on page_t on HP-UX 2001-03-14 21:13:15 +02:00
heikki@donna.mysql.fi
822f9aee4b fsp0fsp.c Circumvent a bug in Visual C inlining 2001-03-14 19:54:38 +02:00
monty@donna.mysql.fi
2505d667c7 Fixes for compiling innobase 2001-03-12 01:13:07 +02:00
monty@donna.mysql.fi
26a8c8b823 Optimization of delete with record cache (for MyISAM tables)
Added missing files for innobase to the distribution
2001-03-11 23:09:09 +02:00
heikki@donna.mysql.fi
bfe5ff3b2e row0mysql.c Innobase does not trap now if one creates a table already in Innobase 2001-03-08 16:55:14 +02:00
heikki@donna.mysql.fi
6d78974d4f mem0pool.c Removed excessive out of mem warnings 2001-03-07 20:10:50 +02:00
heikki@donna.mysql.fi
a5711053cc row0mysql.c Fix REPLACE problem, non-latin1 charset bug
row0upd.c	Fix REPLACE problem, non-latin1 charset bug
rem0cmp.c	Fix REPLACE problem, non-latin1 charset bug
2001-03-07 17:22:27 +02:00
monty@donna.mysql.fi
d2b0512942 Merge work:/my/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-03-06 20:39:10 +02:00
monty@donna.mysql.fi
e829e96dbc Patch from sleepycat to fix problem with BDB and log files
Print full command name to log files
Convert table type to supported onces on ALTER TABLE
2001-03-06 20:38:53 +02:00
heikki@donna.mysql.fi
0ba8d3efd2 trx0trx.h Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0ins.c	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0mysql.c	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0mysql.h	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
ha_innobase.cc	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
2001-03-06 19:45:10 +02:00
tim@threads.polyesthetic.msg
853a2f0160 Make sure ib_config.h is distributed.
Clean up Do-all-build-steps.
2001-03-05 21:08:24 -05:00
tim@threads.polyesthetic.msg
9bbe517965 configure.in Add include/Makefile to AC_OUTPUT 2001-03-05 18:55:02 -05:00
tim@threads.polyesthetic.msg
7a932b1351 Added include/Makefile.am so that the header files will
be distributed properly.
2001-03-05 18:33:13 -05:00