Commit graph

188 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
heikki@donna.mysql.fi
e84ef2b747 updated 2001-11-05 18:50:12 +02:00
monty@hundin.mysql.fi
0716bf4d0e Portability fixes 2001-10-31 20:28:43 +02:00