| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
|
|
| |
Merge InnoDB-3.23.52c
ha_innobase.cc:
Test the ref length sanity also in the production version
|
|
|
|
|
| |
Added back 'static inline', as not having this caused more problems than having it
Fixed wrong arguments to printf()
|
|
|
|
| |
Removed some compiler warnings regarding 'static' from InnoDB
|
|
|
|
| |
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
|
|
|
|
| |
Backport the AIX crash fix changes from 4.0
|
|
|
|
| |
Add diagnostic code to track a probable table corruption reported by a user
|
|
|
|
| |
Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
|
|
|
|
| |
Fix a bug in the storage of the SQL NULL value in 64-bit computers: the value code must fit in 32 bits
|
|
|
|
| |
Move the assertion in foreign keys to the right place
|
|
|
|
| |
Revert the test changes to wait for a full push of new auto-inc algorithm
|
|
|
|
|
|
| |
Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
dict0dict.c:
test
|
|
|
|
| |
Align a buffer for i/o from a raw device
|
|
|
|
| |
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
|
|
|
|
| |
Align the buffer used in initing a data file to zero; this may be needed if the data file is actually a raw device
|
|
|
|
| |
Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
|
|
|
|
| |
Forgot to release an x-latch in DROP DATABASE
|
|
|
|
| |
Protect InnoDB monitor with a mutex
|
|
|
|
| |
Remove debug code
|
|
|
|
| |
Eliminate potential division by zero
|
|
|
|
| |
Merge InnoDB-3.23.52b
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
|
|
| |
Crash the server if file flush does not succeed: the database can get corrupt, better to crash it than let it run
|
|
|
|
| |
Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux
|
|
|
|
| |
Merge 3.23.52
|
|
|
|
| |
Play safe and set a MySQL 1 - 12 byte BLOB reference to zero except for the length and pointer areas in it
|
|
|
|
| |
Monty said an SQL NULL BLOB field must have NULL as the data pointer value
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
|
|
| |
Prevent use of X86 assembler when WIN64 defined
|
|
|
|
| |
Make possible switch off X86 assembler usage in Windows: needed for the Itanium port
|
|
|
|
| |
Implement ON DELETE CASCADE and facilitate switching off of UNIQUE constraints and foreign keys
|
|
|
|
| |
Make sure Posix aio is never even tried to use
|
|
|
|
| |
Forgot to merge these to 3.23.50
|
|
|
|
| |
Merge InnoDB-3.23.50
|
|
|
|
| |
If the string foreign was succeeded by a non-space character, that confused the foreign key syntax parser
|
|
|
|
| |
Add a warning to drop database wait if there are still open handles on a table
|
|
|
|
| |
Add some more safety if MySQL tries to drop a table on which there are open handles
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
|
|
| |
Still a little better error message for Harald Fuchs
|
|
|
|
| |
Add some error messages to help in tracking Harald Fuchs' foreign key failure
|
|
|
|
| |
Prevent a foreign key constraint references between INT columns where the signedness is different
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fine-tune optimization parameters; in small tables the estimates are accurate; in big tables let us not be too optimistic about index selectivity
|
|
|
|
| |
Add more diagnostic code to cath possible memory corruption
|
|
|
|
|
|
| |
Add an assert
dyn0dyn.h:
Reduce stack consumption
|
|
|
|
| |
Merge InnoDB-.48
|