| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Allow also O_DIRECT as innodb_flush_method; it only affects writing to data files
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Release all event semaphores at shutdown also in Windows
srv0start.c, srv0srv.c:
make test sometimes failed because lock timeout thread exited without decrementing the InnoDB thread counter
|
|\ \ \
| | |/
| |/| |
|
| |/
| |
| |
| | |
Portability fix for Windows 64
|
| |
| |
| |
| |
| |
| | |
Cleanup
os0sync.c:
Free all OS sync primitives and allocated memory in InnoDB shutdown
|
| |
| |
| |
| | |
Free all OS sync primitives and allocated memory in InnoDB shutdown
|
| |
| |
| |
| | |
Exit all threads created by innoDB at shutdown
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
trx0trx.c:
Add forgotten return value (it was not used anywhere, fortunately)
ha_innodb.h, mysql_priv.h:
Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++
|
| |
| |
| |
| | |
Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
|
| |
| |
| |
| | |
Clean up the working of the main thread; add a tunable parameter srv_max_buf_pool_modified_pct which can be used to make the flush phase in shutdown quicker
|
| |
| |
| |
| | |
Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
|
| |
| |
| |
| | |
Remove code never actually used in IGNORE; InnoDB just rolls back the latest row insert or update on a duplicate key error and leaves it for MySQL to decide whether to ignore the error
|
| |
| |
| |
| | |
Print the failing assertion if it fails; helps to analyze bug reports
|
| |
| |
| |
| | |
If HAVE_purify is defined, define UNIV_SET_MEM_TO_ZERO to eliminate Purify warnings
|
| |
| |
| |
| | |
Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
|
| |
| |
| |
| | |
Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
|
| |
| |
| |
| |
| |
| |
| | |
libraries always ended up in "dir..", even though they were not supposed
to be installed anyway (they are only required at link time). Fixed it by
replacing libs_LIBRARIES with noinst_LIBRARIES for all InnoDB Makefile.am
files and by removing "libsdir = " from innobase/include/Makefile.i .
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Print trx rollback progress info in crash recovery
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
|
| |
| |
| |
| | |
Make AWE compilation depend on __WIN2000__
|
| |
| |
| |
| | |
Some changes to the prepared statement protocol to make it easier to use and faster.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Fix a crash in page_dir_find_owner_slot if an adaptive hash index search coincides with purge or an insert
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Fix a hang associated with an index tree of height 1 and purging of BLOB fields from it
|
| |
| |
| |
| |
| |
| |
| | |
Test allocation of memory beforehand if we are trying to return a > 2 MB BLOB; normally InnoDB asserts if memory allocation fails
ha_innodb.cc:
Do not fetch all columns if change_active_index() is called during a query; a sum(a), max(a) query seemed to do that, doing unnecessary copying (the change actually made in the previous bk ci)
Free BLOB heap of handle when MySQL calls some ::extra()'s
|
| |
| |
| |
| | |
Make smaller buffer headers and the lock table; fix AWE high_end bug
|
|/
|
|
|
|
| |
Reduce memory usage of the buffer headers
Many files:
Merge InnoDB-4.1 with AWE support
|
|
|
|
| |
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
|
|
|
|
|
|
| |
Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
sql_select.cc:
Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
|
|
|
|
| |
Fixed wrong variable name for Windows
|
|
|
|
|
| |
Added syntax support for
CREATE TABLE foo (a char CHARACTER SET latin1) CHARSET=latin1;
|
|
|
|
| |
Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
|
|
|
|
| |
Try to skip over corrupt records in SELECT if innodb_force_recovery > 0; print more page hex dumps in CHECK TABLE
|
|
|
|
|
|
| |
Fix hang introduced by selective deadlock resolution
srv0srv.c, row0mysql.c:
Fix hang introduced by selective deadlock resolution + corruption caused by lock timeout or sel deadl res in ON DELETE CASCADE
|
|\ |
|
| | |
|
|/
|
|
| |
Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
|
|
|
|
| |
Add check that sizeof(trx_t) is the same in ha_inndob.cc and InnoDB compilation modules
|