| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
|
|
|
|
| |
Start InnoDB Monitor if 80 % of the buffer pool occupied by adaptive has or lock heaps; do not print the same warning more than 1 time
|
|
|
|
| |
DO NOT MERGE TO 4.1: forgot to change this in the previous push
|
|
|
|
| |
DO NOT MERGE TO 4.1: charset changes can cause problems in a downgrade 4.1.1 -> 4.0.18
|
|
|
|
| |
DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
|
|
|
|
| |
Do not assert in log0log.c, line 856 if ib_logfiles are too small for innodb_thread_concurrency. Instead, print instructions how to adjust my.cnf and call exit(1).
|
|
|
|
|
|
|
|
| |
Fix bug: if one updated a secondary index column so that its alphabetical value did not change (e.g., abc -> aBc) and rolled back the update, InnoDB failed to return the value in the secondary index to its original value
row0upd.h:
Correct typing error
sync0sync.ic:
Remove inadvertently pushed sync debug code
|
|
|
|
| |
Remove wrong debug assertion and comment
|
|
|
|
| |
Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
|
|
|
|
| |
If innodb_force_recovery >= 5, do not try to fetch an old version of a clustered index record: this reduces crashes when dumping tables from a corrupt database
|
|
|
|
| |
Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
|
|
|
|
| |
Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
|
|
|
|
| |
Backport from 4.1: reduce InnoDB memory consumption if buf pool < 8 MB
|
|
|
|
| |
Remove unintentional changes in previous push
|
|
|
|
| |
Fix bug: if one used the rename trick of ibman section 15.1 to recover a temp table, InnoDB asserted because it tried to lock the data dictionary twice
|
|
|
|
| |
Fix buglets in previous push
|
|
|
|
| |
Fix bug: if a primary key contains more than one column, then MySQL seems to do fetch next even for a unique search condition: this in turn caused unnecessary locking which did not agree what the InnoDB manual promised
|
|
|
|
| |
function calls are present inside an expanded inline function
|
|
|
|
|
|
| |
Fix bug: if the user created a prefix column key on a fixed length char column, then InnoDB claimed in CHECK TABLE that the table is corrupt
dict0dict.c:
Fix bug 1151: if the user created a prefix column primary key on a fixed length char column, then InnoDB crashed in a simple SELECT
|
|
|
|
| |
strerror() does not work in Windows
|
|
|
|
| |
Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler
|
|
|
|
| |
Fix bug introduced in 4.0.13 and reported by Emic: if a CREATE TABLE ended in a comment, a memory overrun could happen
|
|
|
|
|
|
|
|
|
|
| |
Merge
trx0trx.c:
Print more info about a trx in SHOW INNODB status; try to find the bug reported by Plaxo
buf0buf.c:
Check that page log sequence numbers are not in the future
log0recv.c, log0log.c:
Fixed a bug: if you used big BLOBs, and your log files were relatively small, InnoDB could in a big BLOB operation temporarily write over the log produced AFTER the latest checkpoint. If InnoDB would crash at that moment, then the crash recovery would fail, because InnoDB would not be able to scan the log even up to the latest checkpoint. Starting from this version, InnoDB tries to ensure the latest checkpoint is young enough. If that is not possible, InnoDB prints a warning to the .err log
|
|
|
|
| |
Fix bug: if there was a 'record too long' error in an insert, InnoDB forgot to free reserved file space extents; they were only freed in mysqld restart
|
|
|
|
| |
Fix an error in the previous push
|
|
|
|
| |
Fix bug reported by Dyego Souza do Carmo: if a row becomes too long, > 8000 bytes, in an update, then InnoDB simply removes the clustered index record and does not report of table handler error 139
|
|
|
|
| |
Put back a 50 millisecond sleep in too high concurrency situations which I removed in the previous push; count also such sleeping threads to the InnoDB queue in SHOW INNODB STATUS
|
|
|
|
| |
Fix a benign bug introduced in 4.0.14: InnoDB could complain 'Error: trying to declare trx to enter InnoDB' if several threads tried to init the auto-inc counter for the same table at the same time; in theory, the bug could even lead to a hang of the server, but that shuld be extremely improbable
|
|
|
|
| |
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
|
|
|
|
| |
A cosmetic change: set trx id to zero at creation so that SHOW INNODB STATUS does not print a random value for the id of a transaction object for which the transaction has never been started yet (for example, running SHOW INNODB STATUS as the first command from a mysql prompt printed a random id for the trx object associated with the session itself running the SHOW INNODB STATUS command)
|
|
|
|
| |
Fix performance bug: if there were thousands of tables, DROP TABLE could take as much as a second CPU time
|
|
|
|
|
|
| |
In background loop run purge to completion before doing other background operations: it does not make sense to flush buffer pool pages if they are soon modified again by purge
trx0purge.c:
Increase purge_sys->n_pages_handled for every undo log we purge, even if that log would be only a hundred bytes: that way we get the purge batches of 20 pages to set a fresh purge view (limit) more often, and we can reduce the number of old row versions purge has to look at when it decides if it can remove some delete-marked index record
|
|
|
|
|
|
| |
Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
os0sync.h, os0sync.c:
Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
|
|
|
|
| |
Fix bug: group commit still did not work when we had MySQL binlogging on
|
|
|
|
| |
Remove outdated comment and the corresponding assertion in debug version code
|
|
|
|
| |
Make execution with UNIV_SYNC_DEBUG faster
|
|
|
|
| |
Fix a latching order violation in the previous (2003-06-15) push: could lead to a hang on the btr0sea.c semaphore
|
|
|
|
| |
In ORDER BY MySQL seems to set the key read flag also in the case where the primary key contains only a prefix of a column - not the whole column; to prevent potential bugs retrieve the whole column if the index contains a prefix of it
|
|
|
|
| |
Track an assertion failure reported on the mailing list June 18th, 2003
|
|
|
|
| |
Add forgotten mutex_enter()
|
|
|
|
| |
Add forgotten mtr_commit()
|
|
|
|
| |
Fix error in previous push
|
|
|
|
| |
Fix bug: InnoDB could print that it cannot find a clustered index record if an update undo, purge, and a consistent read coincided, in rare cases it might also have returned a wrong row in a query
|
|
|
|
|
|
| |
Cleanup
ha_innodb.cc, data0type.h:
Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
|
|
|
|
| |
Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
|
|\
| |
| |
| | |
into narttu.mysql.fi:/my/mysql-4.0
|
| |
| |
| |
| | |
Portability fix for Windows 64
|
| |
| |
| |
| | |
Do not try to reserve os_sync_mutex in shutdown after it has been freed
|
| |
| |
| |
| | |
Removed auto event creation because it is not needed in any MySQL/InnoDB code
|
| |
| |
| |
| | |
Put back Monty's patch which the previous push accidentally erased: print also operation type in os_file_handle_error()
|