Commit 4d49c50c authored by vasil's avatar vasil

branches/zip:

Cleanup in ChangeLog:
* Wrap lines at 78 characters
* Changed files are listed alphabetically
* White-space cleanup
parent c5e4d76a
2009-02-18 The InnoDB Team 2009-02-18 The InnoDB Team
* os/os0proc.c, ut/ut0mem.c, include/ut0mem.h: * include/ut0mem.h, os/os0proc.c, ut/ut0mem.c:
Protect ut_total_allocated_memory with ut_list_mutex in Protect ut_total_allocated_memory with ut_list_mutex in
os_mem_alloc_large() and os_mem_free_large(). The lack of this os_mem_alloc_large() and os_mem_free_large(). The lack of this mutex
mutex protection could cause an assertion failure during fast protection could cause an assertion failure during fast index
index creation. Also, add UNIV_MEM_ALLOC and UNIV_MEM_FREE creation. Also, add UNIV_MEM_ALLOC and UNIV_MEM_FREE instrumentation
instrumentation to os_mem_alloc_large() and os_mem_free_large(), to os_mem_alloc_large() and os_mem_free_large(), so that Valgrind can
so that Valgrind can detect more errors. detect more errors.
2009-02-11 The InnoDB Team 2009-02-11 The InnoDB Team
* handler/ha_innodb.cc: * handler/ha_innodb.cc:
Make innodb_thread_concurrency=0 the default. The old default Make innodb_thread_concurrency=0 the default. The old default value
value was 8. A non-zero setting may be useful when InnoDB is was 8. A non-zero setting may be useful when InnoDB is showing severe
showing severe scalability problems under multiple concurrent scalability problems under multiple concurrent connections.
connections.
2009-02-10 The InnoDB Team 2009-02-10 The InnoDB Team
* handler/ha_innodb.h, handler/ha_innodb.cc: * handler/ha_innodb.cc, handler/ha_innodb.h:
Fix Bug#41676 Table names are case insensitive in locking Fix Bug#41676 Table names are case insensitive in locking
2009-02-10 The InnoDB Team 2009-02-10 The InnoDB Team
* mem/mem0pool.c, mem/mem0dbg.c, mem/mem0mem.c: * mem/mem0dbg.c, mem/mem0mem.c, mem/mem0pool.c:
When innodb_use_sys_malloc is set, ignore When innodb_use_sys_malloc is set, ignore
innodb_additional_mem_pool_size, because nothing will innodb_additional_mem_pool_size, because nothing will be allocated
be allocated from mem_comm_pool. from mem_comm_pool.
2009-02-10 The InnoDB Team 2009-02-10 The InnoDB Team
* ut/ut0mem.c: * ut/ut0mem.c:
Map ut_malloc_low(), ut_realloc(), and ut_free() directly to Map ut_malloc_low(), ut_realloc(), and ut_free() directly to malloc(),
malloc(), realloc(), and free() when innodb_use_sys_malloc is set. realloc(), and free() when innodb_use_sys_malloc is set. As a side
As a side effect, ut_total_allocated_memory ("Total memory allocated" effect, ut_total_allocated_memory ("Total memory allocated" in the
in the "BUFFER POOL AND MEMORY" section of SHOW ENGINE INNODB STATUS) "BUFFER POOL AND MEMORY" section of SHOW ENGINE INNODB STATUS) will
will exclude any memory allocated by these functions when exclude any memory allocated by these functions when
innodb_use_sys_malloc is set. innodb_use_sys_malloc is set.
2009-02-10 The InnoDB Team 2009-02-10 The InnoDB Team
...@@ -44,13 +43,13 @@ ...@@ -44,13 +43,13 @@
include/buf0buf.ic, include/os0sync.h, include/os0sync.ic, include/buf0buf.ic, include/os0sync.h, include/os0sync.ic,
include/srv0srv.h, include/sync0rw.h, include/sync0rw.ic, include/srv0srv.h, include/sync0rw.h, include/sync0rw.ic,
include/sync0sync.h, include/sync0sync.ic, include/univ.i, include/sync0sync.h, include/sync0sync.ic, include/univ.i,
row/row0sel.c, srv/srv0srv.c, srv/srv0start.c, row/row0sel.c, srv/srv0srv.c, srv/srv0start.c, sync/sync0arr.c,
sync/sync0arr.c, sync/sync0rw.c, sync/sync0sync.c: sync/sync0rw.c, sync/sync0sync.c:
On those platforms that support it, implement the synchronization On those platforms that support it, implement the synchronization
primitives of InnoDB mutexes and read/write locks with GCC atomic primitives of InnoDB mutexes and read/write locks with GCC atomic
builtins instead of Pthreads mutexes and InnoDB mutexes. These builtins instead of Pthreads mutexes and InnoDB mutexes. These changes
changes are based on a patch supplied by Mark Callaghan of Google are based on a patch supplied by Mark Callaghan of Google under a BSD
under a BSD license. license.
2009-01-30 The InnoDB Team 2009-01-30 The InnoDB Team
...@@ -62,8 +61,8 @@ ...@@ -62,8 +61,8 @@
2009-01-29 The InnoDB Team 2009-01-29 The InnoDB Team
* handler/ha_innodb.cc, include/ibuf0ibuf.h, include/ibuf0ibuf.ic, * handler/ha_innodb.cc, ibuf/ibuf0ibuf.c, include/ibuf0ibuf.h,
ibuf/ibuf0ibuf.c: include/ibuf0ibuf.ic:
Implement the settable global variable innodb_change_buffering, Implement the settable global variable innodb_change_buffering,
with the allowed values 'none' and 'inserts'. The default value with the allowed values 'none' and 'inserts'. The default value
'inserts' enables the buffering of inserts to non-unique secondary 'inserts' enables the buffering of inserts to non-unique secondary
...@@ -72,23 +71,21 @@ ...@@ -72,23 +71,21 @@
2009-01-27 The InnoDB Team 2009-01-27 The InnoDB Team
* buf/buf0lru.c: * buf/buf0lru.c:
Fix a race condition in buf_LRU_invalidate_tablespace(): Fix a race condition in buf_LRU_invalidate_tablespace(): The
The compressed page size (zip_size) was read while the block compressed page size (zip_size) was read while the block descriptor
descriptor was no longer protected by a mutex. This could lead to was no longer protected by a mutex. This could lead to corruption
corruption when a table is dropped on a busy system that contains when a table is dropped on a busy system that contains compressed
compressed tables. tables.
2009-01-26 The InnoDB Team 2009-01-26 The InnoDB Team
* include/buf0buf.h, include/buf0buf.ic, buf/buf0buf.c, * btr/btr0sea.c, buf/buf0buf.c, include/buf0buf.h, include/buf0buf.ic,
include/mtr0log.ic, include/row0upd.ic, mtr/mtr0mtr.c, include/mtr0log.ic, include/row0upd.ic, mtr/mtr0mtr.c:
btr/btr0sea.c: Implement buf_block_align() with pointer arithmetics, as it is in the
Implement buf_block_align() with pointer arithmetics, as it is in built-in InnoDB distributed with MySQL. Do not acquire the buffer pool
the built-in InnoDB distributed with MySQL. Do not acquire the mutex before buf_block_align(). This removes a scalability bottleneck
buffer pool mutex before buf_block_align(). This removes a in the adaptive hash index lookup. In CHECK TABLE, check that
scalability bottleneck in the adaptive hash index lookup. In buf_pool->page_hash is consistent with buf_block_align().
CHECK TABLE, check that buf_pool->page_hash is consistent with
buf_block_align().
2009-01-23 The InnoDB Team 2009-01-23 The InnoDB Team
...@@ -97,7 +94,7 @@ ...@@ -97,7 +94,7 @@
2009-01-23 The InnoDB Team 2009-01-23 The InnoDB Team
* include/buf0buf.h, buf/buf0buf.c: * buf/buf0buf.c, include/buf0buf.h:
Remove the unused mode BUF_GET_NOWAIT of buf_page_get_gen() Remove the unused mode BUF_GET_NOWAIT of buf_page_get_gen()
2009-01-20 The InnoDB Team 2009-01-20 The InnoDB Team
...@@ -123,31 +120,31 @@ ...@@ -123,31 +120,31 @@
2009-01-13 The InnoDB Team 2009-01-13 The InnoDB Team
* include/hash0hash.h, include/dict0dict.ic, dict/dict0dict.c, * buf/buf0buddy.c, dict/dict0dict.c, dict/dict0mem.c, fil/fil0fil.c,
include/buf0buf.ic, buf/buf0buddy.c, trx/trx0i_s.c, ha/ha0storage.c, handler/ha_innodb.cc, handler/win_delay_loader.cc,
handler/ha_innodb.cc, handler/win_delay_loader.cc, include/buf0buf.ic, include/dict0dict.ic, include/hash0hash.h,
dict/dict0mem.c, ha/ha0storage.c, thr/thr0loc.c, fil/fil0fil.c: thr/thr0loc.c, trx/trx0i_s.c:
Add the parameter ASSERTION to HASH_SEARCH() macro, and use it for Add the parameter ASSERTION to HASH_SEARCH() macro, and use it for
light validation of the traversed items in hash table lookups when light validation of the traversed items in hash table lookups when
UNIV_DEBUG is enabled. UNIV_DEBUG is enabled.
2009-01-09 The InnoDB Team 2009-01-09 The InnoDB Team
* include/buf0flu.h, include/buf0flu.ic, buf/buf0flu.c: * buf/buf0flu.c, include/buf0flu.h, include/buf0flu.ic:
Remove unused code from the functions Remove unused code from the functions
buf_flush_insert_into_flush_list() and buf_flush_insert_into_flush_list() and
buf_flush_insert_sorted_into_flush_list(). buf_flush_insert_sorted_into_flush_list().
2009-01-09 The InnoDB Team 2009-01-09 The InnoDB Team
* buf/buf0flu.c: Simplify the functions buf_flush_try_page() and * buf/buf0flu.c:
buf_flush_batch(). Add debug assertions and an explanation to Simplify the functions buf_flush_try_page() and buf_flush_batch(). Add
buf_flush_write_block_low(). debug assertions and an explanation to buf_flush_write_block_low().
2009-01-07 The InnoDB Team 2009-01-07 The InnoDB Team
* row/row0merge.c: * row/row0merge.c:
Fix a bug in recovery when dropping temporary indexes Fix a bug in recovery when dropping temporary indexes.
2009-01-07 The InnoDB Team 2009-01-07 The InnoDB Team
...@@ -162,115 +159,108 @@ ...@@ -162,115 +159,108 @@
2009-01-02 The InnoDB Team 2009-01-02 The InnoDB Team
* handler/ha_innodb.cc, include/srv0srv.h, srv/srv0srv.c, * handler/ha_innodb.cc, include/srv0srv.h, mem/mem0pool.c,
srv/srv0start.c, mem/mem0pool.c,
mysql-test/innodb-use-sys-malloc-master.opt, mysql-test/innodb-use-sys-malloc-master.opt,
mysql-test/innodb-use-sys-malloc.result, mysql-test/innodb-use-sys-malloc.result,
mysql-test/innodb-use-sys-malloc.test: mysql-test/innodb-use-sys-malloc.test, srv/srv0srv.c, srv/srv0start.c:
Implement the configuration parameter innodb_use_sys_malloc Implement the configuration parameter innodb_use_sys_malloc (false by
(false by default), for disabling InnoDB's internal memory allocator default), for disabling InnoDB's internal memory allocator and using
and using system malloc/free instead. The "BUFFER POOL AND MEMORY" system malloc/free instead. The "BUFFER POOL AND MEMORY" section of
section of SHOW ENGINE INNODB STATUS will report SHOW ENGINE INNODB STATUS will report "in additional pool allocated
"in additional pool allocated allocated 0" when allocated 0" when innodb_use_sys_malloc is set.
innodb_use_sys_malloc is set.
2008-12-30 The InnoDB Team 2008-12-30 The InnoDB Team
* btr/btr0btr.c: * btr/btr0btr.c:
When setting the PAGE_LEVEL of a compressed B-tree page from or to When setting the PAGE_LEVEL of a compressed B-tree page from or to 0,
0, compress the page at the same time. This is necessary, because compress the page at the same time. This is necessary, because the
the column information stored on the compressed page will differ column information stored on the compressed page will differ between
between leaf and non-leaf pages. Leaf pages are identified by leaf and non-leaf pages. Leaf pages are identified by PAGE_LEVEL=0.
PAGE_LEVEL=0. This bug can make InnoDB crash when all rows of a This bug can make InnoDB crash when all rows of a compressed table are
compressed table are deleted. deleted.
2008-12-17 The InnoDB Team 2008-12-17 The InnoDB Team
* include/row0upd.h, include/row0sel.h, pars/pars0pars.c, * include/row0sel.h, include/row0upd.h, pars/pars0pars.c,
row/row0upd.c, row/row0sel.c, row/row0mysql.c: row/row0mysql.c, row/row0sel.c, row/row0upd.c:
Remove update-in-place select from the internal SQL interpreter. Remove update-in-place select from the internal SQL interpreter. It
It was only used for updating the InnoDB internal data dictionary was only used for updating the InnoDB internal data dictionary when
when renaming or dropping tables. It could have caused deadlocks renaming or dropping tables. It could have caused deadlocks when
when acquiring latches on insert buffer bitmap pages. acquiring latches on insert buffer bitmap pages.
2008-12-17 The InnoDB Team 2008-12-17 The InnoDB Team
* include/univ.i, include/buf0buf.h, include/hash0hash.h, * btr/btr0sea.c, buf/buf0buf.c, buf/buf0lru.c, ha/ha0ha.c,
include/ha0ha.h, include/ha0ha.ic, ha/ha0ha.c, ha/hash0hash.c, ha/hash0hash.c, include/buf0buf.h, include/ha0ha.h, include/ha0ha.ic,
btr/btr0sea.c, buf/buf0lru.c, buf/buf0buf.c: include/hash0hash.h, include/univ.i:
Introduce the preprocessor symbol UNIV_AHI_DEBUG for enabling Introduce the preprocessor symbol UNIV_AHI_DEBUG for enabling adaptive
adaptive hash index debugging independently of UNIV_DEBUG. hash index debugging independently of UNIV_DEBUG.
2008-12-16 The InnoDB Team 2008-12-16 The InnoDB Team
* btr/btr0cur.c: * btr/btr0cur.c:
Do not update the free bits in the insert buffer bitmap when Do not update the free bits in the insert buffer bitmap when inserting
inserting or deleting from the insert buffer B-tree. Assert that or deleting from the insert buffer B-tree. Assert that records in the
records in the insert buffer B-tree are never updated. insert buffer B-tree are never updated.
2008-12-12 The InnoDB Team 2008-12-12 The InnoDB Team
* include/fil0fil.h, include/ibuf0ibuf.h, include/ibuf0types.h, * buf/buf0buf.c, fil/fil0fil.c, fsp/fsp0fsp.c, ibuf/ibuf0ibuf.c,
include/ibuf0ibuf.ic, ibuf/ibuf0ibuf.c, include/fil0fil.h, include/ibuf0ibuf.h, include/ibuf0ibuf.ic,
buf/buf0buf.c, fil/fil0fil.c, fsp/fsp0fsp.c: include/ibuf0types.h:
Clean up the insert buffer subsystem so that only one insert Clean up the insert buffer subsystem so that only one insert
buffer B-tree exists. buffer B-tree exists.
Originally, there were provisions in InnoDB for multiple insert Originally, there were provisions in InnoDB for multiple insert
buffer B-trees, apparently one for each tablespace. buffer B-trees, apparently one for each tablespace.
When Heikki Tuuri implemented multiple InnoDB tablespaces in When Heikki Tuuri implemented multiple InnoDB tablespaces in
MySQL/InnoDB 4.1, he made the insert buffer live only in the MySQL/InnoDB 4.1, he made the insert buffer live only in the
system tablespace (space 0) but left the provisions in the code. system tablespace (space 0) but left the provisions in the code.
2008-12-11 The InnoDB Team 2008-12-11 The InnoDB Team
* include/srv0srv.h, srv/srv0srv.c, os/os0proc.c: * include/srv0srv.h, os/os0proc.c, srv/srv0srv.c:
Fix the issue that the InnoDB plugin fails if Fix the issue that the InnoDB plugin fails if innodb_buffer_pool_size
innodb_buffer_pool_size is defined bigger than 4096M on 64-bit is defined bigger than 4096M on 64-bit Windows. This bug should not
Windows. This bug should not have affected other 64-bit systems. have affected other 64-bit systems.
2008-12-09 The InnoDB Team 2008-12-09 The InnoDB Team
* handler/ha_innodb.cc: * handler/ha_innodb.cc:
Fix Bug#40386 Not flushing query cache after truncate. Fix Bug#40386 Not flushing query cache after truncate.
ha_statistics.records cannot be 0 unless the table is empty, set to 1
ha_statistics.records cannot be 0 unless the table is empty, set instead. The original problem of Bug#29507 has been fixed in the
to 1 instead. The original problem of Bug#29507 has been fixed in server.
the server.
2008-12-09 The InnoDB Team 2008-12-09 The InnoDB Team
* handler/ha_innodb.cc, srv/srv0srv.c, trx/trx0trx.c: * handler/ha_innodb.cc, srv/srv0srv.c, trx/trx0trx.c:
Fix Bug#40760 Getting database deadlocks on simultaneous inserts. Fix Bug#40760 Getting database deadlocks on simultaneous inserts.
The config param innodb_thread_concurrency is dynamically set and is
The config param innodb_thread_concurrency is dynamically set and read when a thread enters/exits innodb. If the value is changed
is read when a thread enters/exits innodb. If the value is between the enter and exit time the behaviour becomes erratic. The fix
changed between the enter and exit time the behaviour becomes is not to use srv_thread_concurrency when exiting, instead use the
erratic. The fix is not to use srv_thread_concurrency when flag trx->declared_to_be_inside_innodb.
exiting, instead use the flag trx->declared_to_be_inside_innodb.
2008-12-04 The InnoDB Team 2008-12-04 The InnoDB Team
* include/mysql_addons.h, handler/mysql_addons.cc, * handler/ha_innodb.cc, handler/mysql_addons.cc,
handler/ha_innodb.cc, trx/trx0i_s.c, win-plugin/win-plugin.diff: include/mysql_addons.h, trx/trx0i_s.c, win-plugin/win-plugin.diff:
Remove dependencies to MySQL internals (defining MYSQL_SERVER). Remove dependencies to MySQL internals (defining MYSQL_SERVER).
2008-12-02 The InnoDB Team 2008-12-02 The InnoDB Team
* page/page0cur.c: * page/page0cur.c:
When allocating space for a record from the free list of When allocating space for a record from the free list of previously
previously purged records, zero out the DB_TRX_ID and DB_ROLL_PTR purged records, zero out the DB_TRX_ID and DB_ROLL_PTR of the purged
of the purged record if the new record would not overwrite these record if the new record would not overwrite these fields. This fixes
fields. This fixes a harmless content mismatch reported by a harmless content mismatch reported by page_zip_validate().
page_zip_validate().
2008-12-02 The InnoDB Team 2008-12-02 The InnoDB Team
* row/row0merge.c: * row/row0merge.c:
Replace the WHILE 1 with WHILE 1=1 in the SQL procedure, so that Replace the WHILE 1 with WHILE 1=1 in the SQL procedure, so that the
the loop will actually be entered and temporary indexes be dropped loop will actually be entered and temporary indexes be dropped during
during crash recovery. crash recovery.
2008-12-01 The InnoDB Team 2008-12-01 The InnoDB Team
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment