mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
0c990811de
------------------------------------------------------------------------ r5147 | marko | 2009-05-27 06:55:14 -0400 (Wed, 27 May 2009) | 1 line branches/zip: ibuf0ibuf.c: Improve a comment. ------------------------------------------------------------------------ r5149 | marko | 2009-05-27 07:46:42 -0400 (Wed, 27 May 2009) | 34 lines branches/zip: Merge revisions 4994:5148 from branches/5.1: ------------------------------------------------------------------------ r5126 | vasil | 2009-05-26 16:57:12 +0300 (Tue, 26 May 2009) | 9 lines branches/5.1: Preparation for the fix of Bug#45097 Hang during recovery, redo logs for doublewrite buffer pages Non-functional change: move FSP_* macros from fsp0fsp.h to a new file fsp0types.h. This is needed in order to be able to use FSP_EXTENT_SIZE in mtr0log.ic. ------------------------------------------------------------------------ r5127 | vasil | 2009-05-26 17:05:43 +0300 (Tue, 26 May 2009) | 9 lines branches/5.1: Preparation for the fix of Bug#45097 Hang during recovery, redo logs for doublewrite buffer pages Do not include unnecessary headers mtr0log.h and fut0lst.h in trx0sys.h and include fsp0fsp.h just before it is needed. This is needed in order to be able to use TRX_SYS_SPACE in mtr0log.ic. ------------------------------------------------------------------------ r5128 | vasil | 2009-05-26 17:26:37 +0300 (Tue, 26 May 2009) | 7 lines branches/5.1: Fix Bug#45097 Hang during recovery, redo logs for doublewrite buffer pages Do not write redo log for the pages in the doublewrite buffer. Also, do not make a dummy change to the page because this is not needed. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5169 | marko | 2009-05-28 03:21:55 -0400 (Thu, 28 May 2009) | 1 line branches/zip: mtr0mtr.h: Add Doxygen comments for the redo log entry types. ------------------------------------------------------------------------ r5176 | marko | 2009-05-28 07:14:02 -0400 (Thu, 28 May 2009) | 1 line branches/zip: Correct a debug assertion that was added in r5125. ------------------------------------------------------------------------ r5201 | marko | 2009-06-01 06:35:25 -0400 (Mon, 01 Jun 2009) | 2 lines branches/zip: Clean up some comments. Make the rec parameter of mlog_open_and_write_index() const. ------------------------------------------------------------------------ r5234 | marko | 2009-06-03 08:26:41 -0400 (Wed, 03 Jun 2009) | 44 lines branches/zip: Merge revisions 5148:5233 from branches/5.1: ------------------------------------------------------------------------ r5150 | vasil | 2009-05-27 18:56:03 +0300 (Wed, 27 May 2009) | 4 lines branches/5.1: Whitespace fixup. ------------------------------------------------------------------------ r5191 | vasil | 2009-05-30 17:46:05 +0300 (Sat, 30 May 2009) | 19 lines branches/5.1: Merge a change from MySQL (this fixes the failing innodb_mysql test): ------------------------------------------------------------ revno: 1810.3894.10 committer: Sergey Glukhov <Sergey.Glukhov@sun.com> branch nick: mysql-5.0-bugteam timestamp: Tue 2009-05-19 11:32:21 +0500 message: Bug#39793 Foreign keys not constructed when column has a '#' in a comment or default value Internal InnoDN FK parser does not recognize '\'' as quotation symbol. Suggested fix is to add '\'' symbol check for quotation condition (dict_strip_comments() function). modified: innobase/dict/dict0dict.c mysql-test/r/innodb_mysql.result mysql-test/t/innodb_mysql.test ------------------------------------------------------------------------ r5233 | marko | 2009-06-03 15:12:44 +0300 (Wed, 03 Jun 2009) | 11 lines branches/5.1: Merge the test case from r5232 from branches/5.0: ------------------------------------------------------------------------ r5232 | marko | 2009-06-03 14:31:04 +0300 (Wed, 03 Jun 2009) | 21 lines branches/5.0: Merge r3590 from branches/5.1 in order to fix Bug #40565 (Update Query Results in "1 Row Affected" But Should Be "Zero Rows"). Also, add a test case for Bug #40565. rb://128 approved by Heikki Tuuri ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5250 | marko | 2009-06-04 02:58:23 -0400 (Thu, 04 Jun 2009) | 1 line branches/zip: Add Doxygen comments to the rest of buf0*. ------------------------------------------------------------------------ r5251 | marko | 2009-06-04 02:59:51 -0400 (Thu, 04 Jun 2009) | 1 line branches/zip: Replace <= in a function comment. ------------------------------------------------------------------------ r5253 | marko | 2009-06-04 06:37:35 -0400 (Thu, 04 Jun 2009) | 1 line branches/zip: Add missing Doxygen comments for page0zip. ------------------------------------------------------------------------ r5261 | vasil | 2009-06-05 11:13:31 -0400 (Fri, 05 Jun 2009) | 15 lines branches/zip: Fix Mantis Issue#244 fix bug in linear read ahead (no check on access pattern) The changes are: 1) Take into account access pattern when deciding whether or not to do linear read ahead. 2) Expose a knob innodb_read_ahead_factor = [0-64] default (8), dynamic, global to control linear read ahead behvior 3) Disable random read ahead. Keep the code for now. Submitted by: Inaam (rb://122) Approved by: Heikki (rb://122) ------------------------------------------------------------------------ r5262 | vasil | 2009-06-05 12:04:25 -0400 (Fri, 05 Jun 2009) | 22 lines branches/zip: Enable functionality to have multiple background io helper threads. This patch is based on percona contributions. More details about this patch will be written at: https://svn.innodb.com/innobase/MultipleBackgroundThreads The patch essentially does the following: expose following knobs: innodb_read_io_threads = [1 - 64] default 1 innodb_write_io_threads = [1 - 64] default 1 deprecate innodb_file_io_threads (this parameter was relevant only on windows) Internally it allows multiple segments for read and write IO request arrays where one thread works on one segement. Submitted by: Inaam (rb://124) Approved by: Heikki (rb://124) ------------------------------------------------------------------------ r5263 | vasil | 2009-06-05 12:19:37 -0400 (Fri, 05 Jun 2009) | 4 lines branches/zip: Whitespace cleanup. ------------------------------------------------------------------------ r5264 | vasil | 2009-06-05 12:26:58 -0400 (Fri, 05 Jun 2009) | 4 lines branches/zip: Add ChangeLog entry for r5261. ------------------------------------------------------------------------ r5265 | vasil | 2009-06-05 12:34:11 -0400 (Fri, 05 Jun 2009) | 4 lines branches/zip: Add ChangeLog entry for r5262. ------------------------------------------------------------------------ r5268 | inaam | 2009-06-08 12:18:21 -0400 (Mon, 08 Jun 2009) | 7 lines branches/zip Non functional change: Added legal notices acknowledging percona contribution to the multiple IO helper threads patch i.e.: r5262 ------------------------------------------------------------------------ r5283 | inaam | 2009-06-09 13:46:29 -0400 (Tue, 09 Jun 2009) | 9 lines branches/zip rb://130 Enable Group Commit functionality that was broken in 5.0 when distributed transactions were introduced. Reviewed by: Heikki ------------------------------------------------------------------------ r5319 | marko | 2009-06-11 04:40:33 -0400 (Thu, 11 Jun 2009) | 3 lines branches/zip: Declare os_thread_id_t as unsigned long, because ulint is wrong on Win64. Pointed out by Vladislav Vaintroub <wlad@sun.com>. ------------------------------------------------------------------------ r5320 | inaam | 2009-06-11 09:15:41 -0400 (Thu, 11 Jun 2009) | 14 lines branches/zip rb://131 This patch changes the following defaults: max_dirty_pages_pct: default from 90 to 75. max allowed from 100 to 99 additional_mem_pool_size: default from 1 to 8 MB buffer_pool_size: default from 8 to 128 MB log_buffer_size: default from 1 to 8 MB read_io_threads/write_io_threads: default from 1 to 4 The log file sizes are untouched because of upgrade issues Reviewed by: Heikki ------------------------------------------------------------------------ r5330 | marko | 2009-06-16 04:08:59 -0400 (Tue, 16 Jun 2009) | 2 lines branches/zip: buf_page_get_gen(): Reduce mutex holding time by adjusting buf_pool->n_pend_unzip while only holding buf_pool_mutex. ------------------------------------------------------------------------ r5331 | marko | 2009-06-16 05:00:48 -0400 (Tue, 16 Jun 2009) | 2 lines branches/zip: buf_page_get_zip(): Eliminate a buf_page_get_mutex() call. The function must switch on the block state anyway. ------------------------------------------------------------------------ r5332 | vasil | 2009-06-16 05:03:27 -0400 (Tue, 16 Jun 2009) | 4 lines branches/zip: Add ChangeLog entries for r5283 and r5320. ------------------------------------------------------------------------ r5333 | marko | 2009-06-16 05:27:46 -0400 (Tue, 16 Jun 2009) | 1 line branches/zip: buf_page_io_query(): Remove unused function. ------------------------------------------------------------------------ r5335 | marko | 2009-06-16 09:23:10 -0400 (Tue, 16 Jun 2009) | 2 lines branches/zip: innodb.test: Adjust the tolerance of innodb_buffer_pool_pages_total for r5320. ------------------------------------------------------------------------ r5342 | marko | 2009-06-17 06:15:32 -0400 (Wed, 17 Jun 2009) | 60 lines branches/zip: Merge revisions 5233:5341 from branches/5.1: ------------------------------------------------------------------------ r5233 | marko | 2009-06-03 15:12:44 +0300 (Wed, 03 Jun 2009) | 11 lines branches/5.1: Merge the test case from r5232 from branches/5.0: ------------------------------------------------------------------------ r5232 | marko | 2009-06-03 14:31:04 +0300 (Wed, 03 Jun 2009) | 21 lines branches/5.0: Merge r3590 from branches/5.1 in order to fix Bug #40565 (Update Query Results in "1 Row Affected" But Should Be "Zero Rows"). Also, add a test case for Bug #40565. rb://128 approved by Heikki Tuuri ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5243 | sunny | 2009-06-04 03:17:14 +0300 (Thu, 04 Jun 2009) | 14 lines branches/5.1: When the InnoDB and MySQL data dictionaries go out of sync, before the bug fix we would assert on missing autoinc columns. With this fix we allow MySQL to open the table but set the next autoinc value for the column to the MAX value. This effectively disables the next value generation. INSERTs will fail with a generic AUTOINC failure. However, the user should be able to read/dump the table, set the column values explicitly, use ALTER TABLE to set the next autoinc value and/or sync the two data dictionaries to resume normal operations. Fix Bug#44030 Error: (1500) Couldn't read the MAX(ID) autoinc value from the index (PRIMARY) rb://118 ------------------------------------------------------------------------ r5252 | sunny | 2009-06-04 10:16:24 +0300 (Thu, 04 Jun 2009) | 2 lines branches/5.1: The version of the result file checked in was broken in r5243. ------------------------------------------------------------------------ r5259 | vasil | 2009-06-05 10:29:16 +0300 (Fri, 05 Jun 2009) | 7 lines branches/5.1: Remove the word "Error" from the printout because the mysqltest suite interprets it as an error and thus the innodb-autoinc test fails. Approved by: Sunny (via IM) ------------------------------------------------------------------------ r5339 | marko | 2009-06-17 11:01:37 +0300 (Wed, 17 Jun 2009) | 2 lines branches/5.1: Add missing #include "mtr0log.h" so that the code compiles with -DUNIV_MUST_NOT_INLINE. (null merge; this had already been committed in branches/zip) ------------------------------------------------------------------------ r5340 | marko | 2009-06-17 12:11:49 +0300 (Wed, 17 Jun 2009) | 4 lines branches/5.1: row_unlock_for_mysql(): When the clustered index is unknown, refuse to unlock the record. (Bug #45357, caused by the fix of Bug #39320). rb://132 approved by Sunny Bains. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5343 | vasil | 2009-06-17 08:56:12 -0400 (Wed, 17 Jun 2009) | 4 lines branches/zip: Add ChangeLog entry for r5342. ------------------------------------------------------------------------ r5344 | marko | 2009-06-17 09:03:45 -0400 (Wed, 17 Jun 2009) | 1 line branches/zip: row_merge_read_rec(): Fix a UNIV_DEBUG bug (Bug #45426) ------------------------------------------------------------------------ r5391 | marko | 2009-06-22 05:31:35 -0400 (Mon, 22 Jun 2009) | 2 lines branches/zip: buf_page_get_zip(): Fix a bogus warning about block_mutex being possibly uninitialized. ------------------------------------------------------------------------ r5392 | marko | 2009-06-22 07:58:20 -0400 (Mon, 22 Jun 2009) | 4 lines branches/zip: ha_innobase::check_if_incompatible_data(): When ROW_FORMAT=DEFAULT, do not compare to get_row_type(). Without this change, fast index creation will be disabled in recent versions of MySQL 5.1. ------------------------------------------------------------------------ r5393 | pekka | 2009-06-22 09:27:55 -0400 (Mon, 22 Jun 2009) | 4 lines branches/zip: Minor changes for Hot Backup to build correctly. (The code bracketed between #ifdef UNIV_HOTBACKUP and #endif /* UNIV_HOTBACKUP */). This change should not affect !UNIV_HOTBACKUP build. ------------------------------------------------------------------------ r5394 | pekka | 2009-06-22 09:46:34 -0400 (Mon, 22 Jun 2009) | 4 lines branches/zip: Add functions for checking the format of tablespaces for Hot Backup build (UNIV_HOTBACKUP defined). This change should not affect !UNIV_HOTBACKUP build. ------------------------------------------------------------------------ r5397 | calvin | 2009-06-23 16:59:42 -0400 (Tue, 23 Jun 2009) | 7 lines branches/zip: change the header file path. Change the header file path from ../storage/innobase/include/ to ../include/. In the planned 5.1 + plugin release, the source directory of the plugin will not be in storage/innobase. Approved by: Heikki (IM) ------------------------------------------------------------------------ r5407 | calvin | 2009-06-24 09:51:08 -0400 (Wed, 24 Jun 2009) | 4 lines branches/zip: remove relative path of header files. Suggested by Marko. ------------------------------------------------------------------------ r5412 | marko | 2009-06-25 06:27:08 -0400 (Thu, 25 Jun 2009) | 1 line branches/zip: Replace a DBUG_ASSERT with ut_a to track down Issue #290. ------------------------------------------------------------------------ r5415 | marko | 2009-06-25 06:45:57 -0400 (Thu, 25 Jun 2009) | 3 lines branches/zip: dict_index_find_cols(): Print diagnostic on name mismatch. This addresses Bug #44571 but does not fix it. rb://135 approved by Sunny Bains. ------------------------------------------------------------------------ r5417 | marko | 2009-06-25 08:20:56 -0400 (Thu, 25 Jun 2009) | 1 line branches/zip: ha_innodb.cc: Move the misplaced Doxygen @file comment. ------------------------------------------------------------------------ r5418 | marko | 2009-06-25 08:55:52 -0400 (Thu, 25 Jun 2009) | 5 lines branches/zip: Fix a race condition caused by SET GLOBAL innodb_commit_concurrency=DEFAULT. (Bug #45749) When innodb_commit_concurrency is initially set nonzero, DEFAULT would change it back to 0, triggering Bug #42101. rb://139 approved by Heikki Tuuri. ------------------------------------------------------------------------ r5423 | calvin | 2009-06-26 16:52:52 -0400 (Fri, 26 Jun 2009) | 2 lines branches/zip: Fix typos. ------------------------------------------------------------------------ r5425 | marko | 2009-06-29 04:52:30 -0400 (Mon, 29 Jun 2009) | 4 lines branches/zip: ha_innobase::add_index(), ha_innobase::final_drop_index(): Start prebuilt->trx before locking the table. This should fix Issue #293 and could fix Issue #229. Approved by Sunny (over IM). ------------------------------------------------------------------------ r5426 | marko | 2009-06-29 05:24:27 -0400 (Mon, 29 Jun 2009) | 3 lines branches/zip: buf_page_get_gen(): Fix a race condition when reading buf_fix_count. This could explain Issue #156. Tested by Michael. ------------------------------------------------------------------------ r5427 | marko | 2009-06-29 05:54:53 -0400 (Mon, 29 Jun 2009) | 5 lines branches/zip: lock_print_info_all_transactions(), buf_read_recv_pages(): Tolerate missing tablespaces (zip_size==ULINT_UNDEFINED). buf_page_get_gen(): Add ut_ad(ut_is_2pow(zip_size)). Issue #289, rb://136 approved by Sunny Bains ------------------------------------------------------------------------ r5428 | marko | 2009-06-29 07:06:29 -0400 (Mon, 29 Jun 2009) | 2 lines branches/zip: row_sel_store_mysql_rec(): Add missing pointer cast. Do not do arithmetics on void pointers. ------------------------------------------------------------------------ r5429 | marko | 2009-06-29 09:49:54 -0400 (Mon, 29 Jun 2009) | 13 lines branches/zip: Do not crash on SET GLOBAL innodb_file_format=DEFAULT or SET GLOBAL innodb_file_format_check=DEFAULT. innodb_file_format.test: New test for innodb_file_format and innodb_file_format_check. innodb_file_format_name_validate(): Store the string in *save. innodb_file_format_name_update(): Check the string again. innodb_file_format_check_validate(): Store the string in *save. innodb_file_format_check_update(): Check the string again. Issue #282, rb://140 approved by Heikki Tuuri ------------------------------------------------------------------------ r5430 | marko | 2009-06-29 09:58:07 -0400 (Mon, 29 Jun 2009) | 2 lines branches/zip: lock_rec_validate_page(): Add another assertion to track down Issue #289. ------------------------------------------------------------------------ r5431 | marko | 2009-06-29 09:58:40 -0400 (Mon, 29 Jun 2009) | 1 line branches/zip: Revert an accidentally made change in r5430 to univ.i. ------------------------------------------------------------------------ r5437 | marko | 2009-06-30 05:10:01 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: ibuf_dummy_index_free(): Beautify the comment. ------------------------------------------------------------------------ r5438 | marko | 2009-06-30 05:10:32 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: fseg_free(): Remove this unused function. ------------------------------------------------------------------------ r5439 | marko | 2009-06-30 05:15:22 -0400 (Tue, 30 Jun 2009) | 2 lines branches/zip: fseg_validate(): Enclose in #ifdef UNIV_DEBUG. This function is unused, but it could turn out to be a useful debugging aid. ------------------------------------------------------------------------ r5441 | marko | 2009-06-30 06:30:14 -0400 (Tue, 30 Jun 2009) | 2 lines branches/zip: ha_delete(): Remove this unused function that was very similar to ha_search_and_delete_if_found(). ------------------------------------------------------------------------ r5442 | marko | 2009-06-30 06:45:41 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: lock_is_on_table(), lock_table_unlock(): Unused, remove. ------------------------------------------------------------------------ r5443 | marko | 2009-06-30 07:03:00 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: os_event_create_auto(): Unused, remove. ------------------------------------------------------------------------ r5444 | marko | 2009-06-30 07:19:49 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: que_graph_try_free(): Unused, remove. ------------------------------------------------------------------------ r5445 | marko | 2009-06-30 07:28:11 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: row_build_row_ref_from_row(): Unused, remove. ------------------------------------------------------------------------ r5446 | marko | 2009-06-30 07:35:45 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: srv_que_round_robin(), srv_que_task_enqueue(): Unused, remove. ------------------------------------------------------------------------ r5447 | marko | 2009-06-30 07:37:58 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: srv_que_task_queue_check(): Unused, remove. ------------------------------------------------------------------------ r5448 | marko | 2009-06-30 07:56:36 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: mem_heap_cat(): Unused, remove. ------------------------------------------------------------------------ r5449 | marko | 2009-06-30 08:00:50 -0400 (Tue, 30 Jun 2009) | 2 lines branches/zip: innobase_start_or_create_for_mysql(): Invoke os_get_os_version() at most once. ------------------------------------------------------------------------ r5450 | marko | 2009-06-30 08:02:20 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: os_file_close_no_error_handling(): Unused, remove. ------------------------------------------------------------------------ r5451 | marko | 2009-06-30 08:09:49 -0400 (Tue, 30 Jun 2009) | 2 lines branches/zip: page_set_max_trx_id(): Make the code compile with UNIV_HOTBACKUP. ------------------------------------------------------------------------ r5452 | marko | 2009-06-30 08:10:26 -0400 (Tue, 30 Jun 2009) | 2 lines branches/zip: os_file_close_no_error_handling(): Restore, as this function is used within InnoDB Hot Backup. ------------------------------------------------------------------------ r5453 | marko | 2009-06-30 08:14:01 -0400 (Tue, 30 Jun 2009) | 1 line branches/zip: os_process_set_priority_boost(): Unused, remove. ------------------------------------------------------------------------ r5454 | marko | 2009-06-30 08:42:52 -0400 (Tue, 30 Jun 2009) | 2 lines branches/zip: Replace a non-ASCII character (ISO 8859-1 encoded U+00AD SOFT HYPHEN) with a cheap ASCII substitute. ------------------------------------------------------------------------ r5456 | inaam | 2009-06-30 14:21:09 -0400 (Tue, 30 Jun 2009) | 4 lines branches/zip Non functional change. s/Percona/Percona Inc./ ------------------------------------------------------------------------ r5470 | vasil | 2009-07-02 09:12:36 -0400 (Thu, 02 Jul 2009) | 16 lines branches/zip: Use PAUSE instruction inside spinloop if it is available. The patch was originally developed by Mikael Ronstrom <mikael@mysql.com> and can be found here: http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2768 http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2771 http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2772 http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2774 http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2777 http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2799 http://bazaar.launchpad.net/%7Emysql/mysql-server/mysql-5.4/revision/2800 Approved by: Heikki (rb://137) ------------------------------------------------------------------------ r5481 | vasil | 2009-07-06 13:16:32 -0400 (Mon, 06 Jul 2009) | 4 lines branches/zip: Remove unnecessary quotes and simplify plug.in. ------------------------------------------------------------------------ r5482 | calvin | 2009-07-06 18:36:35 -0400 (Mon, 06 Jul 2009) | 5 lines branches/zip: add COPYING files for Percona and Sun Micro. 1.0.4 contains patches based on contributions from Percona and Sun Microsystems. ------------------------------------------------------------------------ r5483 | calvin | 2009-07-07 05:36:43 -0400 (Tue, 07 Jul 2009) | 3 lines branches/zip: add IB_HAVE_PAUSE_INSTRUCTION to CMake. Windows will support PAUSE instruction by default. ------------------------------------------------------------------------ r5484 | inaam | 2009-07-07 18:57:14 -0400 (Tue, 07 Jul 2009) | 13 lines branches/zip rb://126 Based on contribution from Google Inc. This patch introduces a new parameter innodb_io_capacity to control the rate at which master threads performs various tasks. The default value is 200 and higher values imply more aggressive flushing and ibuf merges from within the master thread. This patch also changes the ibuf merge from synchronous to asynchronous. Another minor change is not to force the master thread to wait for a log flush to complete every second. Approved by: Heikki ------------------------------------------------------------------------ r5485 | inaam | 2009-07-07 19:00:49 -0400 (Tue, 07 Jul 2009) | 18 lines branches/zip rb://138 The current implementation is to try to flush the neighbors of every page that we flush. This patch makes the following distinction: 1) If the flush is from flush_list AND 2) If the flush is intended to move the oldest_modification LSN ahead (this happens when a user thread sees little space in the log file and attempts to flush pages from the buffer pool so that a checkpoint can be made) THEN Do not try to flush the neighbors. Just focus on flushing dirty pages at the end of flush_list Approved by: Heikki ------------------------------------------------------------------------ r5486 | inaam | 2009-07-08 12:11:40 -0400 (Wed, 08 Jul 2009) | 29 lines branches/zip rb://133 This patch introduces heuristics based flushing rate of dirty pages to avoid IO bursts at checkpoint. 1) log_capacity / log_generated per second gives us number of seconds in which ALL dirty pages need to be flushed. Based on this rough assumption we can say that n_dirty_pages / (log_capacity / log_generation_rate) = desired_flush_rate 2) We use weighted averages (hard coded to 20 seconds) of log_generation_rate to avoid resonance. 3) From the desired_flush_rate we subtract the number of pages that have been flushed due to LRU flushing. That gives us pages that we should flush as part of flush_list cleanup. And that is the number (capped by maximum io_capacity) that we try to flush from the master thread. Knobs: ====== innodb_adaptive_flushing: boolean, global, dynamic, default TRUE. Since this heuristic is very experimental and has the potential to dramatically change the IO pattern I think it is a good idea to leave a knob to turn it off. Approved by: Heikki ------------------------------------------------------------------------ r5487 | calvin | 2009-07-08 12:42:28 -0400 (Wed, 08 Jul 2009) | 7 lines branches/zip: fix PAUSE instruction patch on Windows The original PAUSE instruction patch (r5470) does not compile on Windows. Also, there is an elegant way of doing it on Windows - YieldProcessor(). Approved by: Heikki (on IM) ------------------------------------------------------------------------ r5489 | vasil | 2009-07-10 05:02:22 -0400 (Fri, 10 Jul 2009) | 9 lines branches/zip: Change the defaults for innodb_sync_spin_loops: 20 -> 30 innodb_spin_wait_delay: 5 -> 6 This change was proposed by Sun/MySQL based on their performance testing, see https://svn.innodb.com/innobase/Release_tasks_for_InnoDB_Plugin_V1.0.4 ------------------------------------------------------------------------ r5490 | vasil | 2009-07-10 05:04:20 -0400 (Fri, 10 Jul 2009) | 4 lines branches/zip: Add ChangeLog entry for 5489. ------------------------------------------------------------------------ r5491 | calvin | 2009-07-10 12:19:17 -0400 (Fri, 10 Jul 2009) | 6 lines branches/zip: add copyright info to files related to PAUSE instruction patch, contributed by Sun Microsystems. ------------------------------------------------------------------------ r5492 | calvin | 2009-07-10 17:47:34 -0400 (Fri, 10 Jul 2009) | 5 lines branches/zip: add ChangeLog entries for r5484-r5486. ------------------------------------------------------------------------ r5494 | vasil | 2009-07-13 03:37:35 -0400 (Mon, 13 Jul 2009) | 6 lines branches/zip: Restore the original value of innodb_sync_spin_loops at the end, previously the test assumed that setting it to 20 will do this, but now the default is 30 and MTR's internal check failed. ------------------------------------------------------------------------ r5495 | inaam | 2009-07-13 11:48:45 -0400 (Mon, 13 Jul 2009) | 5 lines branches/zip rb://138 (REVERT) Revert the flush neighbors patch as it shows regression in the benchmarks run by Michael. ------------------------------------------------------------------------ r5496 | inaam | 2009-07-13 14:04:57 -0400 (Mon, 13 Jul 2009) | 4 lines branches/zip Fixed warnings on windows where ulint != ib_uint64_t ------------------------------------------------------------------------ r5497 | calvin | 2009-07-13 15:01:00 -0400 (Mon, 13 Jul 2009) | 9 lines branches/zip: fix run-time symbols clash on Solaris. This patch is from Sergey Vojtovich of Sun Microsystems, to fix run-time symbols clash on Solaris with older C++ compiler: - when finding out a way to hide symbols, make decision basing on compiler, not operating system. - Sun Studio supports __hidden declaration specifier for this purpose. ------------------------------------------------------------------------ r5498 | vasil | 2009-07-14 03:16:18 -0400 (Tue, 14 Jul 2009) | 92 lines branches/zip: Merge r5341:5497 from branches/5.1, skipping: c5419 because it is merge from branches/zip into branches/5.1 c5466 because the source code has been adjusted to match the MySQL behavior and the innodb-autoinc test does not fail in branches/zip, if c5466 is merged, then innodb-autoinc starts failing, Sunny suggested not to merge c5466. and resolving conflicts in c5410, c5440, c5488: ------------------------------------------------------------------------ r5410 | marko | 2009-06-24 22:26:34 +0300 (Wed, 24 Jun 2009) | 2 lines Changed paths: M /branches/5.1/include/trx0sys.ic M /branches/5.1/trx/trx0purge.c M /branches/5.1/trx/trx0sys.c M /branches/5.1/trx/trx0undo.c branches/5.1: Add missing #include "mtr0log.h" to avoid warnings when compiling with -DUNIV_MUST_NOT_INLINE. ------------------------------------------------------------------------ r5419 | marko | 2009-06-25 16:11:57 +0300 (Thu, 25 Jun 2009) | 18 lines Changed paths: M /branches/5.1/handler/ha_innodb.cc M /branches/5.1/mysql-test/innodb_bug42101-nonzero.result M /branches/5.1/mysql-test/innodb_bug42101-nonzero.test M /branches/5.1/mysql-test/innodb_bug42101.result M /branches/5.1/mysql-test/innodb_bug42101.test branches/5.1: Merge r5418 from branches/zip: ------------------------------------------------------------------------ r5418 | marko | 2009-06-25 15:55:52 +0300 (Thu, 25 Jun 2009) | 5 lines Changed paths: M /branches/zip/ChangeLog M /branches/zip/handler/ha_innodb.cc M /branches/zip/mysql-test/innodb_bug42101-nonzero.result M /branches/zip/mysql-test/innodb_bug42101-nonzero.test M /branches/zip/mysql-test/innodb_bug42101.result M /branches/zip/mysql-test/innodb_bug42101.test branches/zip: Fix a race condition caused by SET GLOBAL innodb_commit_concurrency=DEFAULT. (Bug #45749) When innodb_commit_concurrency is initially set nonzero, DEFAULT would change it back to 0, triggering Bug #42101. rb://139 approved by Heikki Tuuri. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5440 | vasil | 2009-06-30 13:04:29 +0300 (Tue, 30 Jun 2009) | 8 lines Changed paths: M /branches/5.1/fil/fil0fil.c branches/5.1: Fix Bug#45814 URL reference in InnoDB server errors needs adjusting to match documentation by changing the URL from http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html to http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting-datadict.html ------------------------------------------------------------------------ r5466 | vasil | 2009-07-02 10:46:45 +0300 (Thu, 02 Jul 2009) | 6 lines Changed paths: M /branches/5.1/mysql-test/innodb-autoinc.result M /branches/5.1/mysql-test/innodb-autoinc.test branches/5.1: Adjust the failing innodb-autoinc test to conform to the latest behavior of the MySQL code. The idea and the comment in innodb-autoinc.test come from Sunny. ------------------------------------------------------------------------ r5488 | vasil | 2009-07-09 19:16:44 +0300 (Thu, 09 Jul 2009) | 13 lines Changed paths: M /branches/5.1/handler/ha_innodb.cc A /branches/5.1/mysql-test/innodb_bug21704.result A /branches/5.1/mysql-test/innodb_bug21704.test branches/5.1: Fix Bug#21704 Renaming column does not update FK definition by checking whether a column that participates in a FK definition is being renamed and denying the ALTER in this case. The patch was originally developed by Davi Arnaut <Davi.Arnaut@Sun.COM>: http://lists.mysql.com/commits/77714 and was later adjusted to conform to InnoDB coding style by me (Vasil), I also added some more comments and moved the bug specific mysql-test to a separate file to make it more manageable and flexible. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5499 | calvin | 2009-07-14 12:55:10 -0400 (Tue, 14 Jul 2009) | 3 lines branches/zip: add a missing file in Makefile.am This change was suggested by MySQL. ------------------------------------------------------------------------ r5500 | calvin | 2009-07-14 13:03:26 -0400 (Tue, 14 Jul 2009) | 3 lines branches/zip: minor change Remove an extra "with". ------------------------------------------------------------------------ r5501 | vasil | 2009-07-14 13:58:15 -0400 (Tue, 14 Jul 2009) | 5 lines branches/zip: Add @ZLIB_INCLUDES@ so that the InnoDB Plugin picks up the same zlib.h header file that is eventually used by mysqld. ------------------------------------------------------------------------ r5502 | vasil | 2009-07-14 13:59:59 -0400 (Tue, 14 Jul 2009) | 4 lines branches/zip: Add include/ut0auxconf.h to noinst_HEADERS ------------------------------------------------------------------------ r5503 | vasil | 2009-07-14 14:16:11 -0400 (Tue, 14 Jul 2009) | 8 lines branches/zip: Non-functional change: put files in noinst_HEADERS and libinnobase_a_SOURCES one per line and sort alphabetically, so it is easier to find if a file is there or not and also diffs show exactly the added or removed file instead of surrounding lines too. ------------------------------------------------------------------------ r5504 | calvin | 2009-07-15 04:58:44 -0400 (Wed, 15 Jul 2009) | 6 lines branches/zip: fix compile errors on Win64 Both srv_read_ahead_factor and srv_io_capacity should be defined as ulong. Approved by: Sunny ------------------------------------------------------------------------ r5508 | calvin | 2009-07-16 09:40:47 -0400 (Thu, 16 Jul 2009) | 16 lines branches/zip: Support inlining of functions and prefetch with Sun Studio Those changes are contributed by Sun/MySQL. Two sets of changes in this patch when Sun Studio is used: - Explicit inlining of functions - Prefetch Support This patch has been tested by Sunny with the plugin statically built in. Since we've never built the plugin as a dynamically loaded module on Solaris, it is a separate task to change plug.in. rb://142 Approved by: Heikki ------------------------------------------------------------------------ r5509 | calvin | 2009-07-16 09:45:28 -0400 (Thu, 16 Jul 2009) | 2 lines branches/zip: add ChangeLog entry for r5508. ------------------------------------------------------------------------ r5512 | sunny | 2009-07-19 19:52:48 -0400 (Sun, 19 Jul 2009) | 2 lines branches/zip: Remove unused extern ref to timed_mutexes. ------------------------------------------------------------------------ r5513 | sunny | 2009-07-19 19:58:43 -0400 (Sun, 19 Jul 2009) | 2 lines branches/zip: Undo r5512 ------------------------------------------------------------------------ r5514 | sunny | 2009-07-19 20:08:49 -0400 (Sun, 19 Jul 2009) | 2 lines branches/zip: Only use my_bool when UNIV_HOTBACKUP is not defined. ------------------------------------------------------------------------ r5515 | sunny | 2009-07-20 03:29:14 -0400 (Mon, 20 Jul 2009) | 2 lines branches/zip: The dict_table_t::autoinc_mutex field is not used in HotBackup. ------------------------------------------------------------------------ r5516 | sunny | 2009-07-20 03:46:05 -0400 (Mon, 20 Jul 2009) | 4 lines branches/zip: Make this file usable from within HotBackup. A new file has been introduced called hb_univ.i. This file should have all the HotBackup specific configuration. ------------------------------------------------------------------------ r5517 | sunny | 2009-07-20 03:55:11 -0400 (Mon, 20 Jul 2009) | 2 lines Add /* UNIV_HOTBACK */ ------------------------------------------------------------------------ r5519 | vasil | 2009-07-20 04:45:18 -0400 (Mon, 20 Jul 2009) | 31 lines branches/zip: Merge r5497:5518 from branches/5.1: ------------------------------------------------------------------------ r5518 | vasil | 2009-07-20 11:29:47 +0300 (Mon, 20 Jul 2009) | 22 lines Changed paths: M /branches/5.1/handler/ha_innodb.cc branches/5.1: Merge a change from MySQL: ------------------------------------------------------------ revno: 2874.2.1 committer: Anurag Shekhar <anurag.shekhar@sun.com> branch nick: mysql-5.1-bugteam-windows-warning timestamp: Wed 2009-05-13 15:41:24 +0530 message: Bug #39802 On Windows, 32-bit time_t should be enforced This patch fixes compilation warning, "conversion from 'time_t' to 'ulong', possible loss of data". The fix is to typecast time_t to ulong before assigning it to ulong. Backported this from 6.0-bugteam tree. modified: storage/archive/ha_archive.cc storage/federated/ha_federated.cc storage/innobase/handler/ha_innodb.cc storage/myisam/ha_myisam.cc ------------------------------------------------------------------------ ------------------------------------------------------------------------ r5520 | vasil | 2009-07-20 04:51:47 -0400 (Mon, 20 Jul 2009) | 4 lines branches/zip: Add ChangeLog entries for r5498 and r5519. ------------------------------------------------------------------------ r5524 | inaam | 2009-07-20 12:23:15 -0400 (Mon, 20 Jul 2009) | 9 lines branches/zip Change the read ahead parameter name to innodb_read_ahead_threshold. Change the meaning of this parameter to signify the number of pages that must be sequentially accessed for InnoDB to trigger a readahead request. Suggested by: Ken ------------------------------------------------------------------------
1141 lines
38 KiB
Text
1141 lines
38 KiB
Text
2009-07-20 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Fix Bug#39802 On Windows, 32-bit time_t should be enforced
|
|
|
|
2009-07-16 The InnoDB Team
|
|
|
|
* include/univ.i:
|
|
Support inlining of functions and prefetch with Sun Studio.
|
|
These changes are based on contribution from
|
|
Sun Microsystems Inc. under a BSD license.
|
|
|
|
2009-07-14 The InnoDB Team
|
|
|
|
* fil/fil0fil.c:
|
|
Fix Bug#45814 URL reference in InnoDB server errors needs adjusting to
|
|
match documentation
|
|
|
|
2009-07-14 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb_bug21704.result,
|
|
mysql-test/innodb_bug21704.test:
|
|
Fix Bug#21704 Renaming column does not update FK definition
|
|
|
|
2009-07-10 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, srv/srv0srv.c:
|
|
Change the defaults for
|
|
innodb_sync_spin_loops: 20 -> 30
|
|
innodb_spin_wait_delay: 5 -> 6
|
|
|
|
2009-07-08 The InnoDB Team
|
|
|
|
* srv/srv0srv.c, buf/buf0flu.c, handler/ha_innodb.cc,
|
|
include/srv0srv.h, include/log0log.ic, include/buf0flu.h,
|
|
include/log0log.h:
|
|
Implement the adaptive flushing of dirty pages, which uses
|
|
a heuristics based flushing rate of dirty pages to avoid IO
|
|
bursts at checkpoint. Expose new configure knob
|
|
innodb_adaptive_flushing to control whether the new flushing
|
|
algorithm should be used.
|
|
|
|
2009-07-07 The InnoDB Team
|
|
|
|
* srv/srv0srv.c, handler/ha_innodb.cc, log/log0log.c,
|
|
include/srv0srv.h:
|
|
Implement IO capacity tuning. Expose new configure knob
|
|
innodb_io_capacity to control the master threads IO rate. The
|
|
ibuf merge is also changed from synchronous to asynchronous.
|
|
These changes are based on contribution from Google Inc.
|
|
under a BSD license.
|
|
|
|
2009-07-02 The InnoDB Team
|
|
|
|
* include/ut0ut.h, plug.in, ut/ut0ut.c:
|
|
Use the PAUSE instruction inside the spinloop if it is available,
|
|
Thanks to Mikael Ronstrom <mikael@mysql.com>.
|
|
|
|
2009-06-29 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb_file_format.test,
|
|
mysql-test/innodb_file_format.result:
|
|
Do not crash on SET GLOBAL innodb_file_format=DEFAULT
|
|
or SET GLOBAL innodb_file_format_check=DEFAULT.
|
|
|
|
2009-06-29 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, buf/buf0rea.c, lock/lock0lock.c:
|
|
Tolerate missing tablespaces during crash recovery and when
|
|
printing information on locks.
|
|
|
|
2009-06-29 The InnoDB Team
|
|
|
|
* buf/buf0buf.c:
|
|
Fix a race condition when reading buf_fix_count.
|
|
Currently, it is not being protected by the buffer pool mutex,
|
|
but by the block mutex.
|
|
|
|
2009-06-29 The InnoDB Team
|
|
|
|
* handler/handler0alter.cc:
|
|
Start the user transaction prebuilt->trx if it was not started
|
|
before adding or dropping an index. Without this fix, the
|
|
table could be locked outside an active transaction.
|
|
|
|
2009-06-25 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc,
|
|
mysql-test/innodb_bug42101.test,
|
|
mysql-test/innodb_bug42101.result,
|
|
mysql-test/innodb_bug42101-nonzero.test,
|
|
mysql-test/innodb_bug42101-nonzero.result:
|
|
Fix Bug#45749 Race condition in SET GLOBAL
|
|
innodb_commit_concurrency=DEFAULT
|
|
|
|
2009-06-25 The InnoDB Team
|
|
|
|
* dict/dict0dict.c:
|
|
When an index column cannot be found in the table during index
|
|
creation, display additional diagnostic before an assertion failure.
|
|
This does NOT fix Bug #44571 InnoDB Plugin crashes on ADD INDEX,
|
|
but it helps understand the reason of the crash.
|
|
|
|
2009-06-17 The InnoDB Team
|
|
|
|
* row/row0merge.c:
|
|
Fix Bug#45426 UNIV_DEBUG build cause assertion error at CREATE INDEX
|
|
|
|
2009-06-17 The InnoDB Team
|
|
|
|
* mysql-test/innodb_bug45357.result, mysql-test/innodb_bug45357.test,
|
|
row/row0mysql.c:
|
|
Fix Bug#45357 5.1.35 crashes with Failing assertion: index->type &
|
|
DICT_CLUSTERED
|
|
|
|
2009-06-17 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb-autoinc.result,
|
|
mysql-test/innodb-autoinc.test:
|
|
Fix Bug#44030 Error: (1500) Couldn't read the MAX(ID) autoinc value
|
|
from the index (PRIMARY)
|
|
|
|
2009-06-11 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb.result, srv/srv0srv.c:
|
|
Change the following defaults:
|
|
max_dirty_pages_pct: from 90 to 75, max allowed from 100 to 99
|
|
additional_mem_pool_size: from 1 to 8 MB
|
|
buffer_pool_size: from 8 to 128 MB
|
|
log_buffer_size: from 1 to 8 MB
|
|
read_io_threads/write_io_threads: from 1 to 4
|
|
|
|
2009-06-09 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/trx0trx.h, trx/trx0trx.c:
|
|
Enable Group Commit functionality that was broken in 5.0 when
|
|
distributed transactions were introduced.
|
|
|
|
2009-06-05 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/os0file.h, include/srv0srv.h,
|
|
os/os0file.c, srv/srv0srv.c, srv/srv0start.c:
|
|
Enable functionality to have multiple background IO helper threads.
|
|
Expose new configure knobs innodb_read_io_threads and
|
|
innodb_write_io_threads and deprecate innodb_file_io_threads (this
|
|
parameter was relevant only on windows). Internally this allows
|
|
multiple segments for read and write IO request arrays where one
|
|
thread works on one segment.
|
|
|
|
2009-06-05 The InnoDB Team
|
|
|
|
* buf/buf0lru.c, buf/buf0rea.c, handler/ha_innodb.cc,
|
|
include/srv0srv.h, srv/srv0srv.c:
|
|
Fix a bug in linear read ahead:
|
|
1) Take into account access pattern when deciding whether or not to
|
|
do linear read ahead.
|
|
2) Expose a knob innodb_read_ahead_factor = [0-64] default (8),
|
|
dynamic, global to control linear read ahead behavior. This is the
|
|
value of the number of pages that InnoDB will tolerate within a
|
|
64 page extent even if they are accessed out of order or have
|
|
not been accessed at all. This number (which varies from 0 to 64)
|
|
is indicative of the slack that we have when deciding about linear
|
|
readahead.
|
|
3) Disable random read ahead. Keep the code for now.
|
|
|
|
2009-06-03 The InnoDB Team
|
|
|
|
* dict/dict0dict.c, mysql-test/t/innodb_mysql.test,
|
|
mysql-test/r/innodb_mysql.result:
|
|
Fix Bug#39793 Foreign keys not constructed when column
|
|
has a '#' in a comment or default value
|
|
|
|
2009-05-27 The InnoDB Team
|
|
|
|
* Doxyfile:
|
|
Allow the extraction of documentation from the code base with the
|
|
Doxygen tool. Convert and add many (but not yet all) comments to
|
|
Doxygen format.
|
|
|
|
2009-05-19 The InnoDB Team
|
|
|
|
* btr/btr0btr.c, btr/btr0cur.c, lock/lock0lock.c,
|
|
include/page0page.ic, include/lock0lock.h, include/dict0dict.h,
|
|
include/page0page.h, include/dict0dict.ic, ibuf/ibuf0ibuf.c,
|
|
page/page0zip.c, page/page0page.c:
|
|
Write updates of PAGE_MAX_TRX_ID to the redo log and add debug
|
|
assertions for checking that PAGE_MAX_TRX_ID is valid on leaf
|
|
pages of secondary indexes and the insert buffer B-tree. This bug
|
|
could cause failures in secondary index lookups in consistent
|
|
reads right after crash recovery.
|
|
|
|
2009-05-18 The InnoDB Team
|
|
|
|
* btr/btr0cur.c:
|
|
Correctly estimate the space needed on the compressed page when
|
|
performing an update by delete-and-insert.
|
|
|
|
2009-05-14 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/srv0srv.h,
|
|
mysql-test/innodb_bug42101-nonzero-master.opt,
|
|
mysql-test/innodb_bug42101-nonzero.result,
|
|
mysql-test/innodb_bug42101-nonzero.test,
|
|
mysql-test/innodb_bug42101.result, mysql-test/innodb_bug42101.test,
|
|
srv/srv0srv.c:
|
|
Fix Bug#42101 Race condition in innodb_commit_concurrency
|
|
|
|
2009-05-13 The InnoDB Team
|
|
|
|
* dict/dict0dict.c:
|
|
Fix Bug#44320 InnoDB: missing DB_ROLL_PTR in Table Monitor COLUMNS
|
|
output
|
|
|
|
2009-04-23 The InnoDB Team
|
|
|
|
* row/row0mysql.c:
|
|
When scanning indexes, report in the error log any error codes
|
|
returned by the search function. These error codes will still be
|
|
ignored in CHECK TABLE.
|
|
|
|
2009-04-23 The InnoDB Team
|
|
|
|
* include/trx0types.h:
|
|
Define the logical type names trx_id_t, roll_ptr_t, and undo_no_t
|
|
and use them in place of dulint everywhere.
|
|
|
|
2009-04-18 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/pars0pars.h:
|
|
Fix Bug#29125 Windows Server X64: so many compiler warnings
|
|
|
|
2009-04-16 The InnoDB Team
|
|
|
|
* include/univ.i:
|
|
Define REFMAN as the base URL of the MySQL Reference Manual and
|
|
use the macro in all diagnostic output.
|
|
|
|
2009-04-16 The InnoDB Team
|
|
|
|
* CMakeLists.txt, include/os0sync.h, include/sync0sync.h,
|
|
include/sync0sync.ic, include/univ.i, srv/srv0start.c,
|
|
sync/sync0sync.c:
|
|
Use the Windows Interlocked functions for atomic memory
|
|
access.
|
|
|
|
2009-04-15 The InnoDB Team
|
|
|
|
* mysql-test/innodb.result, mysql-test/innodb.test:
|
|
Fix Bug#43309 Test main.innodb can't be run twice
|
|
|
|
2009-04-14 The InnoDB Team
|
|
|
|
* CMakeLists.txt, handler/win_delay_loader.cc,
|
|
win-plugin/win-plugin.diff:
|
|
Remove statically linked libraries from MySQL (zlib and strings).
|
|
|
|
2009-04-11 The InnoDB Team
|
|
|
|
* CMakeLists.txt, win-plugin/README, win-plugin/win-plugin.diff:
|
|
Rewrite CMakeLists.txt.
|
|
|
|
2009-04-07 The InnoDB Team
|
|
|
|
* include/os0sync.h, include/sync0rw.ic, include/sync0sync.h,
|
|
include/sync0sync.ic, include/univ.i, plug.in, srv/srv0srv.c,
|
|
srv/srv0start.c, sync/sync0arr.c, sync/sync0sync.c:
|
|
Enable atomics on Solaris (using the libc functions as defined in
|
|
atomic.h) if GCC atomic builtins are not present.
|
|
|
|
2009-04-07 The InnoDB Team
|
|
|
|
* btr/btr0btr.c, dict/dict0dict.c, ibuf/ibuf0ibuf.c,
|
|
include/data0data.h, include/data0data.ic, include/data0type.h,
|
|
include/data0type.ic, include/dict0dict.h, include/dict0dict.ic,
|
|
include/rem0rec.ic, mysql-test/innodb.result, mysql-test/innodb.test,
|
|
pars/pars0pars.c, rem/rem0rec.c, row/row0upd.c:
|
|
Fix Bug#44032 In ROW_FORMAT=REDUNDANT, update UTF-8 CHAR
|
|
to/from NULL is not in-place
|
|
|
|
2009-04-07 The InnoDB Team
|
|
|
|
* page/page0cur.c:
|
|
Fix Bug#43660 SHOW INDEXES/ANALYZE does NOT update cardinality for
|
|
indexes of InnoDB table
|
|
|
|
2009-04-06 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Make the parameter innodb_change_buffering settable by the
|
|
configuration file or mysqld command line options. Before this
|
|
fix, the initial value specified for this parameter was ignored.
|
|
|
|
2009-04-06 The InnoDB Team
|
|
|
|
* sync/sync0rw.c:
|
|
Avoid a bogus failure in UNIV_SYNC_DEBUG diagnostics.
|
|
|
|
2009-04-02 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/srv0srv.h, srv/srv0srv.c:
|
|
Add new parameter innodb_spin_wait_delay to set the maximum delay
|
|
between polling for a spin lock.
|
|
|
|
2009-04-02 The InnoDB Team
|
|
|
|
* dict/dict0crea.c, handler/ha_innodb.cc, handler/ha_innodb.h,
|
|
include/dict0mem.h, include/row0merge.h, include/row0mysql.h,
|
|
mysql-test/innodb-index.result, mysql-test/innodb-index.test,
|
|
row/row0merge.c, row/row0sel.c:
|
|
In consistent reads, refuse to use newly created indexes that may
|
|
lack history.
|
|
|
|
2009-03-25 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, handler/ha_innodb.cc, include/buf0buf.h:
|
|
In SHOW ENGINE INNODB MUTEX do not show the status of block->mutex,
|
|
block->lock, block->lock->mutex (if applicable) and all mutexes and
|
|
rw-locks for which number of os-waits are zero because this can
|
|
be overwhelming particularly when the buffer pool is very large.
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, include/log0recv.h, log/log0recv.c:
|
|
Remove the compile-time constant parameters of
|
|
recv_recover_page(), recv_scan_log_recs(), and recv_sys_init().
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* data/data0type.c, handler/ha_innodb.cc, include/ha_prototypes.h:
|
|
Declare innobase_get_at_most_n_mbchars() in ha_prototypes.h.
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* fil/fil0fil.h, fil/fil0fil.c, srv/srv0start.c:
|
|
Add the parameter hash_size to fil_init().
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* fil/fil0fil.c:
|
|
Refer to fil_system directly, not via local variables.
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* page/page0page.c:
|
|
In page_validate(), always report the space id, page number and
|
|
the name of the index when corruption is noticed.
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* include/log0log.h, include/log0log.ic, log/log0log.c:
|
|
Add in/out comments or const qualifiers to some function
|
|
parameters as appropriate.
|
|
|
|
2009-03-20 The InnoDB Team
|
|
|
|
* dict/dict0boot.c, dict/dict0dict.c, fsp/fsp0fsp.c,
|
|
include/dict0dict.h, include/srv0srv.h, srv/srv0srv.c,
|
|
page/page0page.c:
|
|
Replace srv_sys->dummy_ind1 and srv_sys->dummy_ind2 with
|
|
dict_ind_redundant and dict_ind_compact, which are
|
|
initialized by dict_init().
|
|
|
|
2009-03-11 The InnoDB Team
|
|
|
|
InnoDB Plugin 1.0.3 released
|
|
|
|
2009-03-05 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb-autoinc.result,
|
|
mysql-test/innodb-autoinc.test:
|
|
Fix Bug#43203 Overflow from auto incrementing causes server segv
|
|
|
|
2009-02-25 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb-autoinc.result,
|
|
mysql-test/innodb-autoinc.test:
|
|
Fix Bug#42714 AUTO_INCREMENT errors in 5.1.31
|
|
|
|
2009-02-23 The InnoDB Team
|
|
|
|
* btr/btr0cur.c:
|
|
Fix Bug#43043 Crash on BLOB delete operation
|
|
|
|
2009-02-20 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Make innodb_use_sys_malloc=ON the default.
|
|
|
|
2009-02-20 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb-autoinc.result,
|
|
mysql-test/innodb-autoinc.test:
|
|
Fix Bug#42400 InnoDB autoinc code can't handle floating-point columns
|
|
|
|
2009-02-18 The InnoDB Team
|
|
|
|
* include/ut0mem.h, os/os0proc.c, ut/ut0mem.c:
|
|
Protect ut_total_allocated_memory with ut_list_mutex in
|
|
os_mem_alloc_large() and os_mem_free_large(). The lack of this mutex
|
|
protection could cause an assertion failure during fast index
|
|
creation. Also, add UNIV_MEM_ALLOC and UNIV_MEM_FREE instrumentation
|
|
to os_mem_alloc_large() and os_mem_free_large(), so that Valgrind can
|
|
detect more errors.
|
|
|
|
2009-02-11 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Make innodb_thread_concurrency=0 the default. The old default value
|
|
was 8. A non-zero setting may be useful when InnoDB is showing severe
|
|
scalability problems under multiple concurrent connections.
|
|
|
|
2009-02-10 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, handler/ha_innodb.h:
|
|
Fix Bug#41676 Table names are case insensitive in locking
|
|
|
|
2009-02-10 The InnoDB Team
|
|
|
|
* mem/mem0dbg.c, mem/mem0mem.c, mem/mem0pool.c:
|
|
When innodb_use_sys_malloc is set, ignore
|
|
innodb_additional_mem_pool_size, because nothing will be allocated
|
|
from mem_comm_pool.
|
|
|
|
2009-02-10 The InnoDB Team
|
|
|
|
* ut/ut0mem.c:
|
|
Map ut_malloc_low(), ut_realloc(), and ut_free() directly to malloc(),
|
|
realloc(), and free() when innodb_use_sys_malloc is set. As a side
|
|
effect, ut_total_allocated_memory ("Total memory allocated" in the
|
|
"BUFFER POOL AND MEMORY" section of SHOW ENGINE INNODB STATUS) will
|
|
exclude any memory allocated by these functions when
|
|
innodb_use_sys_malloc is set.
|
|
|
|
2009-02-10 The InnoDB Team
|
|
|
|
* btr/btr0cur.c, btr/btr0sea.c, buf/buf0buf.c, handler/ha_innodb.cc,
|
|
include/buf0buf.ic, include/os0sync.h, include/srv0srv.h,
|
|
include/sync0rw.h, include/sync0rw.ic, include/sync0sync.h,
|
|
include/sync0sync.ic, include/univ.i, row/row0sel.c, srv/srv0srv.c,
|
|
srv/srv0start.c, sync/sync0arr.c, sync/sync0rw.c, sync/sync0sync.c:
|
|
On those platforms that support it, implement the synchronization
|
|
primitives of InnoDB mutexes and read/write locks with GCC atomic
|
|
builtins instead of Pthreads mutexes and InnoDB mutexes. These changes
|
|
are based on a patch supplied by Mark Callaghan of Google under a BSD
|
|
license.
|
|
|
|
2009-01-30 The InnoDB Team
|
|
|
|
* btr/btr0cur.c, btr/btr0sea.c, buf/buf0buf.c, handler/ha_innodb.cc,
|
|
include/btr0sea.h, include/buf0buf.h, include/sync0sync.h,
|
|
sync/sync0sync.c:
|
|
Make the configuration parameter innodb_adaptive_hash_index dynamic,
|
|
so that it can be changed at runtime.
|
|
|
|
2009-01-29 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, ibuf/ibuf0ibuf.c, include/ibuf0ibuf.h,
|
|
include/ibuf0ibuf.ic:
|
|
Implement the settable global variable innodb_change_buffering,
|
|
with the allowed values 'none' and 'inserts'. The default value
|
|
'inserts' enables the buffering of inserts to non-unique secondary
|
|
index trees when the B-tree leaf page is not in the buffer pool.
|
|
|
|
2009-01-27 The InnoDB Team
|
|
|
|
* buf/buf0lru.c:
|
|
Fix a race condition in buf_LRU_invalidate_tablespace(): The
|
|
compressed page size (zip_size) was read while the block descriptor
|
|
was no longer protected by a mutex. This could lead to corruption
|
|
when a table is dropped on a busy system that contains compressed
|
|
tables.
|
|
|
|
2009-01-26 The InnoDB Team
|
|
|
|
* btr/btr0sea.c, buf/buf0buf.c, include/buf0buf.h, include/buf0buf.ic,
|
|
include/mtr0log.ic, include/row0upd.ic, mtr/mtr0mtr.c:
|
|
Implement buf_block_align() with pointer arithmetics, as it is in the
|
|
built-in InnoDB distributed with MySQL. Do not acquire the buffer pool
|
|
mutex before buf_block_align(). This removes a scalability bottleneck
|
|
in the adaptive hash index lookup. In CHECK TABLE, check that
|
|
buf_pool->page_hash is consistent with buf_block_align().
|
|
|
|
2009-01-23 The InnoDB Team
|
|
|
|
* btr/btr0sea.c:
|
|
Fix Bug#42279 Race condition in btr_search_drop_page_hash_when_freed()
|
|
|
|
2009-01-23 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, include/buf0buf.h:
|
|
Remove the unused mode BUF_GET_NOWAIT of buf_page_get_gen()
|
|
|
|
2009-01-20 The InnoDB Team
|
|
|
|
* include/rem0rec.h, include/rem0rec.ic:
|
|
Fix Bug#41571 MySQL segfaults after innodb recovery
|
|
|
|
2009-01-20 The InnoDB Team
|
|
|
|
* lock/lock0lock.c:
|
|
Fix Bug#42152 Race condition in lock_is_table_exclusive()
|
|
|
|
2009-01-14 The InnoDB Team
|
|
|
|
* include/trx0roll.h, trx/trx0roll.c, trx/trx0trx.c:
|
|
Fix Bug#38187 Error 153 when creating savepoints
|
|
|
|
2009-01-14 The InnoDB Team
|
|
|
|
* dict/dict0load.c:
|
|
Fix Bug#42075 dict_load_indexes failure in dict_load_table will
|
|
corrupt the dictionary cache
|
|
|
|
2009-01-13 The InnoDB Team
|
|
|
|
* buf/buf0buddy.c, dict/dict0dict.c, dict/dict0mem.c, fil/fil0fil.c,
|
|
ha/ha0storage.c, handler/ha_innodb.cc, handler/win_delay_loader.cc,
|
|
include/buf0buf.ic, include/dict0dict.ic, include/hash0hash.h,
|
|
thr/thr0loc.c, trx/trx0i_s.c:
|
|
Add the parameter ASSERTION to HASH_SEARCH() macro, and use it for
|
|
light validation of the traversed items in hash table lookups when
|
|
UNIV_DEBUG is enabled.
|
|
|
|
2009-01-09 The InnoDB Team
|
|
|
|
* buf/buf0flu.c, include/buf0flu.h, include/buf0flu.ic:
|
|
Remove unused code from the functions
|
|
buf_flush_insert_into_flush_list() and
|
|
buf_flush_insert_sorted_into_flush_list().
|
|
|
|
2009-01-09 The InnoDB Team
|
|
|
|
* buf/buf0flu.c:
|
|
Simplify the functions buf_flush_try_page() and buf_flush_batch(). Add
|
|
debug assertions and an explanation to buf_flush_write_block_low().
|
|
|
|
2009-01-07 The InnoDB Team
|
|
|
|
* row/row0merge.c:
|
|
Fix a bug in recovery when dropping temporary indexes.
|
|
|
|
2009-01-07 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, handler/ha_innodb.h, handler/handler0alter.cc:
|
|
Fix Bug#41680 calls to trx_allocate_for_mysql are not consistent
|
|
|
|
2009-01-07 The InnoDB Team
|
|
|
|
* mysql-test/innodb_bug41904.result, mysql-test/innodb_bug41904.test,
|
|
row/row0merge.c:
|
|
Fix Bug#41904 create unique index problem
|
|
|
|
2009-01-02 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/srv0srv.h, mem/mem0pool.c,
|
|
mysql-test/innodb-use-sys-malloc-master.opt,
|
|
mysql-test/innodb-use-sys-malloc.result,
|
|
mysql-test/innodb-use-sys-malloc.test, srv/srv0srv.c, srv/srv0start.c:
|
|
Implement the configuration parameter innodb_use_sys_malloc (false by
|
|
default), for disabling InnoDB's internal memory allocator and using
|
|
system malloc/free instead. The "BUFFER POOL AND MEMORY" section of
|
|
SHOW ENGINE INNODB STATUS will report "in additional pool allocated
|
|
allocated 0" when innodb_use_sys_malloc is set.
|
|
|
|
2008-12-30 The InnoDB Team
|
|
|
|
* btr/btr0btr.c:
|
|
When setting the PAGE_LEVEL of a compressed B-tree page from or to 0,
|
|
compress the page at the same time. This is necessary, because the
|
|
column information stored on the compressed page will differ between
|
|
leaf and non-leaf pages. Leaf pages are identified by PAGE_LEVEL=0.
|
|
This bug can make InnoDB crash when all rows of a compressed table are
|
|
deleted.
|
|
|
|
2008-12-17 The InnoDB Team
|
|
|
|
* include/row0sel.h, include/row0upd.h, pars/pars0pars.c,
|
|
row/row0mysql.c, row/row0sel.c, row/row0upd.c:
|
|
Remove update-in-place select from the internal SQL interpreter. It
|
|
was only used for updating the InnoDB internal data dictionary when
|
|
renaming or dropping tables. It could have caused deadlocks when
|
|
acquiring latches on insert buffer bitmap pages.
|
|
|
|
2008-12-17 The InnoDB Team
|
|
|
|
* btr/btr0sea.c, buf/buf0buf.c, buf/buf0lru.c, ha/ha0ha.c,
|
|
ha/hash0hash.c, include/buf0buf.h, include/ha0ha.h, include/ha0ha.ic,
|
|
include/hash0hash.h, include/univ.i:
|
|
Introduce the preprocessor symbol UNIV_AHI_DEBUG for enabling adaptive
|
|
hash index debugging independently of UNIV_DEBUG.
|
|
|
|
2008-12-16 The InnoDB Team
|
|
|
|
* btr/btr0cur.c:
|
|
Do not update the free bits in the insert buffer bitmap when inserting
|
|
or deleting from the insert buffer B-tree. Assert that records in the
|
|
insert buffer B-tree are never updated.
|
|
|
|
2008-12-12 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, fil/fil0fil.c, fsp/fsp0fsp.c, ibuf/ibuf0ibuf.c,
|
|
include/fil0fil.h, include/ibuf0ibuf.h, include/ibuf0ibuf.ic,
|
|
include/ibuf0types.h:
|
|
Clean up the insert buffer subsystem so that only one insert
|
|
buffer B-tree exists.
|
|
Originally, there were provisions in InnoDB for multiple insert
|
|
buffer B-trees, apparently one for each tablespace.
|
|
When Heikki Tuuri implemented multiple InnoDB tablespaces in
|
|
MySQL/InnoDB 4.1, he made the insert buffer live only in the
|
|
system tablespace (space 0) but left the provisions in the code.
|
|
|
|
2008-12-11 The InnoDB Team
|
|
|
|
* include/srv0srv.h, os/os0proc.c, srv/srv0srv.c:
|
|
Fix the issue that the InnoDB plugin fails if innodb_buffer_pool_size
|
|
is defined bigger than 4096M on 64-bit Windows. This bug should not
|
|
have affected other 64-bit systems.
|
|
|
|
2008-12-09 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Fix Bug#40386 Not flushing query cache after truncate.
|
|
|
|
2008-12-09 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, srv/srv0srv.c, trx/trx0trx.c:
|
|
Fix Bug#40760 "set global innodb_thread_concurrency = 0;" is not safe
|
|
|
|
2008-12-04 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, handler/mysql_addons.cc,
|
|
include/mysql_addons.h, trx/trx0i_s.c, win-plugin/win-plugin.diff:
|
|
Remove dependencies to MySQL internals (defining MYSQL_SERVER).
|
|
|
|
2008-12-02 The InnoDB Team
|
|
|
|
* page/page0cur.c:
|
|
When allocating space for a record from the free list of previously
|
|
purged records, zero out the DB_TRX_ID and DB_ROLL_PTR of the purged
|
|
record if the new record would not overwrite these fields. This fixes
|
|
a harmless content mismatch reported by page_zip_validate().
|
|
|
|
2008-12-02 The InnoDB Team
|
|
|
|
* row/row0merge.c:
|
|
Replace the WHILE 1 with WHILE 1=1 in the SQL procedure, so that the
|
|
loop will actually be entered and temporary indexes be dropped during
|
|
crash recovery.
|
|
|
|
2008-12-01 The InnoDB Team
|
|
|
|
InnoDB Plugin 1.0.2 released
|
|
|
|
2008-10-31 The InnoDB Team
|
|
|
|
* dict/dict0mem.c, include/dict0mem.h, include/lock0lock.h,
|
|
include/row0mysql.h, include/trx0trx.h, include/univ.i,
|
|
include/ut0vec.h, include/ut0vec.ic, lock/lock0lock.c,
|
|
row/row0mysql.c, trx/trx0trx.c:
|
|
Fix Bug#26316 Triggers create duplicate entries on auto-increment
|
|
columns
|
|
|
|
2008-10-30 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, handler/handler0vars.h,
|
|
handler/win_delay_loader.cc, mysql-test/innodb_bug40360.result,
|
|
mysql-test/innodb_bug40360.test:
|
|
Fix Bug#40360 Binlog related errors with binlog off
|
|
|
|
2008-10-29 The InnoDB Team
|
|
|
|
* include/data0type.ic:
|
|
Fix Bug#40369 dtype_get_sql_null_size() returns 0 or 1, not the size
|
|
|
|
2008-10-29 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/srv0srv.h, srv/srv0srv.c:
|
|
Fix Bug#38189 innodb_stats_on_metadata missing
|
|
|
|
2008-10-28 The InnoDB Team
|
|
|
|
* CMakeLists.txt, ha_innodb.def, handler/ha_innodb.cc,
|
|
handler/handler0alter.cc, handler/handler0vars.h, handler/i_s.cc,
|
|
handler/win_delay_loader.cc, win-plugin/*:
|
|
Implemented the delayloading of externals for the plugin on Windows.
|
|
This makes it possible to build a dynamic plugin (ha_innodb.dll) on
|
|
Windows.
|
|
|
|
2008-10-27 The InnoDB Team
|
|
|
|
* CMakeLists.txt:
|
|
Fix Bug#19424 InnoDB: Possibly a memory overrun of the buffer being
|
|
freed (64-bit Visual C)
|
|
|
|
2008-10-23 The InnoDB Team
|
|
|
|
* ibuf/ibuf0ibuf.c:
|
|
ibuf_delete_rec(): When the cursor to the insert buffer record
|
|
cannot be restored, do not complain if the tablespace does not
|
|
exist, because the insert buffer record may have been discarded by
|
|
some other thread. This bug has existed in MySQL/InnoDB since
|
|
version 4.1, when innodb_file_per_table was implemented.
|
|
This may fix Bug#27276 InnoDB Error: ibuf cursor restoration fails.
|
|
|
|
2008-10-22 The InnoDB Team
|
|
|
|
* dict/dict0dict.c, dict/dict0mem.c, handler/ha_innodb.cc,
|
|
handler/ha_innodb.h, include/dict0dict.h, include/dict0mem.h,
|
|
row/row0mysql.c:
|
|
Fix Bug#39830 Table autoinc value not updated on first insert
|
|
Fix Bug#35498 Cannot get table test/table1 auto-inccounter value in
|
|
::info
|
|
Fix Bug#36411 "Failed to read auto-increment value from storage
|
|
engine" in 5.1.24 auto-inc
|
|
|
|
2008-10-22 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/row0mysql.h, row/row0mysql.c:
|
|
Fix Bug#40224 New AUTOINC changes mask reporting of deadlock/timeout
|
|
errors
|
|
|
|
2008-10-16 The InnoDB Team
|
|
|
|
* dict/dict0dict.c, mysql-test/innodb-index.result,
|
|
mysql-test/innodb-index.test:
|
|
Skip the undo log size check when creating REDUNDANT and COMPACT
|
|
tables. In ROW_FORMAT=DYNAMIC and ROW_FORMAT=COMPRESSED, column
|
|
prefix indexes require that prefixes of externally stored columns
|
|
be written to the undo log. This may make the undo log record
|
|
bigger than the record on the B-tree page. The maximum size of an
|
|
undo log record is the page size. That must be checked for, in
|
|
dict_index_add_to_cache(). However, this restriction must not
|
|
be enforced on REDUNDANT or COMPACT tables.
|
|
|
|
2008-10-15 The InnoDB Team
|
|
|
|
* btr/btr0cur.c, include/btr0cur.h, row/row0ext.c, row/row0sel.c,
|
|
row/row0upd.c:
|
|
When the server crashes while freeing an externally stored column
|
|
of a compressed table, the BTR_EXTERN_LEN field in the BLOB
|
|
pointer will be written as 0. Tolerate this in the functions that
|
|
deal with externally stored columns. This fixes problems after
|
|
crash recovery, in the rollback of incomplete transactions, and in
|
|
the purge of delete-marked records.
|
|
|
|
2008-10-15 The InnoDB Team
|
|
|
|
* btr/btr0btr.c, include/page0zip.h, page/page0zip.c, include/univ.i:
|
|
When a B-tree node of a compressed table is split or merged, the
|
|
compression may fail. In this case, the entire compressed page
|
|
will be copied and the excess records will be deleted. However,
|
|
page_zip_copy(), now renamed to page_zip_copy_recs(), copied too
|
|
many fields in the page header, overwriting PAGE_BTR_SEG_LEAF and
|
|
PAGE_BTR_SEG_TOP when splitting the B-tree root. This caused
|
|
corruption of compressed tables. Furthermore, the lock table and
|
|
the adaptive hash index would be corrupted, because we forgot to
|
|
update them when invoking page_zip_copy_recs().
|
|
|
|
Introduce the symbol UNIV_ZIP_DEBUG for triggering the copying of
|
|
compressed pages more often, for debugging purposes.
|
|
|
|
2008-10-10 The InnoDB Team
|
|
|
|
* handler/handler0alter.cc, include/row0merge.h, row/row0merge.c,
|
|
row/row0mysql.c:
|
|
Fix some locking issues, mainly in fast index creation. The
|
|
InnoDB data dictionary cache should be latched whenever a
|
|
transaction is holding locks on any data dictionary tables.
|
|
Otherwise, lock waits or deadlocks could occur. Furthermore, the
|
|
data dictionary transaction must be committed (and the locks
|
|
released) before the data dictionary latch is released.
|
|
|
|
ha_innobase::add_index(): Lock the data dictionary before renaming
|
|
or dropping the created indexes, because neither operation will
|
|
commit the data dictionary transaction.
|
|
|
|
ha_innobase::final_drop_index(): Commit the transactions before
|
|
unlocking the data dictionary.
|
|
|
|
2008-10-09 The InnoDB Team
|
|
|
|
* buf/buf0lru.c:
|
|
Fix Bug#39939 DROP TABLE/DISCARD TABLESPACE takes long time in
|
|
buf_LRU_invalidate_tablespace()
|
|
|
|
2008-10-08 The InnoDB Team
|
|
|
|
* dict/dict0crea.c, trx/trx0roll.c, include/row0mysql.h,
|
|
row/row0merge.c, row/row0mysql.c:
|
|
When dropping a table, hold the data dictionary latch until the
|
|
transaction has been committed. The data dictionary latch is
|
|
supposed to prevent lock waits and deadlocks in the data
|
|
dictionary tables. Due to this bug, DROP TABLE could cause a
|
|
deadlock or hang. Note that because of Bug#33650 and Bug#39833,
|
|
MySQL may also drop a (temporary) table when executing CREATE INDEX
|
|
or ALTER TABLE ... ADD INDEX.
|
|
|
|
2008-10-04 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb_bug39438-master.opt,
|
|
mysql-test/innodb_bug39438.result, mysql-test/innodb_bug39438.test:
|
|
Fix Bug#39438 Testcase for Bug#39436 crashes on 5.1 in
|
|
fil_space_get_latch
|
|
|
|
2008-10-04 The InnoDB Team
|
|
|
|
* include/lock0lock.h, lock/lock0lock.c,
|
|
mysql-test/innodb_bug38231.result, mysql-test/innodb_bug38231.test,
|
|
row/row0mysql.c:
|
|
Fix Bug#38231 Innodb crash in lock_reset_all_on_table() on TRUNCATE +
|
|
LOCK / UNLOCK
|
|
|
|
2008-10-04 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Fix Bug#35498 Cannot get table test/table1 auto-inccounter value in
|
|
::info
|
|
|
|
2008-10-04 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, handler/ha_innodb.h:
|
|
Fix Bug#37788 InnoDB Plugin: AUTO_INCREMENT wrong for compressed
|
|
tables
|
|
|
|
2008-10-04 The InnoDB Team
|
|
|
|
* dict/dict0dict.c, handler/ha_innodb.cc, handler/ha_innodb.h,
|
|
include/dict0dict.h, include/dict0mem.h, row/row0mysql.c:
|
|
Fix Bug#39830 Table autoinc value not updated on first insert
|
|
|
|
2008-10-03 The InnoDB Team
|
|
|
|
* mysql-test/innodb-index.test, mysql-test/innodb-index.result,
|
|
mysql-test/innodb-timeout.test, mysql-test/innodb-timeout.result,
|
|
srv/srv0srv.c, include/srv0srv.h, handler/ha_innodb.cc,
|
|
include/ha_prototypes.h:
|
|
Fix Bug#36285 innodb_lock_wait_timeout is not dynamic, not per session
|
|
|
|
2008-09-19 The InnoDB Team
|
|
|
|
* os/os0proc.c:
|
|
Fix a memory leak on Windows. The memory leak was due to wrong
|
|
parameters passed into VirtualFree() call. As the result, the
|
|
call fails with Windows error 87.
|
|
|
|
2008-09-17 The InnoDB Team
|
|
|
|
* mysql-test/innodb.result, mysql-test/innodb-zip.result,
|
|
mysql-test/innodb-zip.test, mysql-test/innodb.test, ibuf/ibuf0ibuf.c,
|
|
dict/dict0crea.c, dict/dict0load.c, dict/dict0boot.c,
|
|
include/dict0dict.h, include/trx0trx.h, dict/dict0dict.c,
|
|
trx/trx0trx.c, include/ha_prototypes.h, handler/ha_innodb.cc:
|
|
When creating an index in innodb_strict_mode, check that the
|
|
maximum record size will never exceed the B-tree page size limit.
|
|
For uncompressed tables, there should always be enough space for
|
|
two records in an empty B-tree page. For compressed tables, there
|
|
should be enough space for storing two node pointer records or one
|
|
data record in an empty page in uncompressed format.
|
|
The purpose of this check is to guarantee that INSERT or UPDATE
|
|
will never fail due to too big record size.
|
|
|
|
2008-09-17 The InnoDB Team
|
|
|
|
* btr/btr0cur.c, data/data0data.c, include/page0zip.h,
|
|
include/page0zip.ic, page/page0zip.c, mysql-test/innodb_bug36172.test:
|
|
Prevent infinite B-tree page splits in compressed tables by
|
|
ensuring that there will always be enough space for two node
|
|
pointer records in an empty B-tree page. Also, require that at
|
|
least one data record will fit in an empty compressed page. This
|
|
will reduce the maximum size of records in compressed tables.
|
|
|
|
2008-09-09 The InnoDB Team
|
|
|
|
* mysql-test/innodb.result:
|
|
Fix the failing innodb test by merging changes that MySQL made to
|
|
that file (r2646.12.1 in MySQL BZR repository)
|
|
|
|
2008-09-09 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb-autoinc.result,
|
|
mysql-test/innodb-autoinc.test:
|
|
Fix Bug#38839 auto increment does not work properly with InnoDB after
|
|
update
|
|
|
|
2008-09-09 The InnoDB Team
|
|
|
|
* dict/dict0dict.c, handler/handler0alter.cc, include/dict0dict.h,
|
|
mysql-test/innodb-index.result, mysql-test/innodb-index.test:
|
|
Fix Bug#38786 InnoDB plugin crashes on drop table/create table with FK
|
|
|
|
2008-08-21 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/ha_prototypes.h, row/row0sel.c:
|
|
Fix Bug#37885 row_search_for_mysql may gap lock unnecessarily with SQL
|
|
comments in query
|
|
|
|
2008-08-21 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Fix Bug#38185 ha_innobase::info can hold locks even when called with
|
|
HA_STATUS_NO_LOCK
|
|
|
|
2008-08-18 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, buf/buf0lru.c, include/buf0buf.ic, include/univ.i:
|
|
Introduce UNIV_LRU_DEBUG for debugging the LRU buffer pool cache
|
|
|
|
2008-08-08 The InnoDB Team
|
|
|
|
* buf/buf0lru.c, include/buf0buf.h:
|
|
Fix two recovery bugs that could lead to a crash in debug builds with
|
|
small buffer size
|
|
|
|
2008-08-07 The InnoDB Team
|
|
|
|
* btr/btr0cur.c, handler/ha_innodb.cc, include/srv0srv.h,
|
|
srv/srv0srv.c:
|
|
Add a parameter innodb_stats_sample_pages to allow users to control
|
|
the number of index dives when InnoDB estimates the cardinality of
|
|
an index (ANALYZE TABLE, SHOW TABLE STATUS etc)
|
|
|
|
2008-08-07 The InnoDB Team
|
|
|
|
* trx/trx0i_s.c:
|
|
Fix a bug that would lead to a crash if a SELECT was issued from the
|
|
INFORMATION_SCHEMA tables and there are rolling back transactions at
|
|
the same time
|
|
|
|
2008-08-06 The InnoDB Team
|
|
|
|
* btr/btr0btr.c, btr/btr0cur.c, ibuf/ibuf0ibuf.c, include/btr0cur.h,
|
|
include/trx0roll.h, include/trx0types.h, row/row0purge.c,
|
|
row/row0uins.c, row/row0umod.c, trx/trx0roll.c:
|
|
In the rollback of incomplete transactions after crash recovery,
|
|
tolerate clustered index records whose externally stored columns
|
|
have not been written.
|
|
|
|
2008-07-30 The InnoDB Team
|
|
|
|
* trx/trx0trx.c:
|
|
Fixes a race in recovery where the recovery thread recovering a
|
|
PREPARED trx and the background rollback thread can both try
|
|
to free the trx after its status is set to COMMITTED_IN_MEMORY.
|
|
|
|
2008-07-29 The InnoDB Team
|
|
|
|
* include/trx0rec.h, row/row0purge.c, row/row0vers.c, trx/trx0rec.c:
|
|
Fix a BLOB corruption bug
|
|
|
|
2008-07-15 The InnoDB Team
|
|
|
|
* btr/btr0sea.c, dict/dict0dict.c, include/btr0sea.h:
|
|
Fixed a timing hole where a thread dropping an index can free the
|
|
in-memory index struct while another thread is still using that
|
|
structure to remove entries from adaptive hash index belonging
|
|
to one of the pages that belongs to the index being dropped.
|
|
|
|
2008-07-04 The InnoDB Team
|
|
|
|
* mysql-test/innodb-index.result:
|
|
Fix the failing innodb-index test by adjusting the result to a new
|
|
MySQL behavior (the change occured in BZR-r2667)
|
|
|
|
2008-07-03 The InnoDB Team
|
|
|
|
* mysql-test/innodb-zip.result, mysql-test/innodb-zip.test:
|
|
Remove the negative test cases that produce warnings
|
|
|
|
2008-07-02 The InnoDB Team
|
|
|
|
* mysql-test/innodb-replace.result, mysql-test/innodb-index.test:
|
|
Disable part of innodb-index test because MySQL changed its behavior
|
|
and is not calling ::add_index() anymore when adding primary index on
|
|
non-NULL column
|
|
|
|
2008-07-01 The InnoDB Team
|
|
|
|
* mysql-test/innodb-replace.result, mysql-test/innodb-replace.test:
|
|
Fix the failing innodb-replace test by merging changes that MySQL
|
|
made to that file (r2659 in MySQL BZR repository)
|
|
|
|
2008-07-01 The InnoDB Team
|
|
|
|
* lock/lock0lock.c:
|
|
Fix Bug#36942 Performance problem in lock_get_n_rec_locks (SHOW INNODB
|
|
STATUS)
|
|
|
|
2008-07-01 The InnoDB Team
|
|
|
|
* ha/ha0ha.c:
|
|
Fix Bug#36941 Performance problem in ha_print_info (SHOW INNODB
|
|
STATUS)
|
|
|
|
2008-07-01 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb-autoinc.result,
|
|
mysql-test/innodb-autoinc.test:
|
|
Fix Bug#37531 After truncate, auto_increment behaves incorrectly for
|
|
InnoDB
|
|
|
|
2008-06-19 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc:
|
|
Rewrite the function innodb_plugin_init() to support parameters in
|
|
different order (in static and dynamic InnoDB) and to support more
|
|
parameters in the static InnoDB
|
|
|
|
2008-06-19 The InnoDB Team
|
|
|
|
* handler/handler0alter.cc:
|
|
Fix a bug in ::add_index() which set the transaction state to "active"
|
|
but never restored it to the original value. This bug caused warnings
|
|
to be printed by the rpl.rpl_ddl mysql-test.
|
|
|
|
2008-06-19 The InnoDB Team
|
|
|
|
* mysql-test/patches:
|
|
Add a directory which contains patches, which need to be applied to
|
|
MySQL source in order to get some mysql-tests to succeed. The patches
|
|
cannot be committed in MySQL repository because they are specific to
|
|
the InnoDB plugin.
|
|
|
|
2008-06-19 The InnoDB Team
|
|
|
|
* mysql-test/innodb-zip.result, mysql-test/innodb-zip.test,
|
|
row/row0row.c:
|
|
Fix an anomaly when updating a record with BLOB prefix
|
|
|
|
2008-06-18 The InnoDB Team
|
|
|
|
* include/trx0sys.h, srv/srv0start.c, trx/trx0sys.c:
|
|
Fix a bug in recovery which was a side effect of the file_format_check
|
|
changes
|
|
|
|
2008-06-09 The InnoDB Team
|
|
|
|
* mysql-test/innodb.result:
|
|
Fix the failing innodb test by merging changes that MySQL made to that
|
|
file
|
|
|
|
2008-06-06 The InnoDB Team
|
|
|
|
* buf/buf0buf.c, handler/ha_innodb.cc, include/buf0buf.h,
|
|
include/srv0srv.h, srv/srv0srv.c:
|
|
Fix Bug#36600 SHOW STATUS takes a lot of CPU in
|
|
buf_get_latched_pages_number
|
|
|
|
* handler/ha_innodb.cc, os/os0file.c:
|
|
Fix Bug#11894 innodb_file_per_table crashes w/ Windows .sym symbolic
|
|
link hack
|
|
|
|
* include/ut0ut.h, srv/srv0srv.c, ut/ut0ut.c:
|
|
Fix Bug#36819 ut_usectime does not handle errors from gettimeofday
|
|
|
|
* handler/ha_innodb.cc:
|
|
Fix Bug#35602 Failed to read auto-increment value from storage engine
|
|
|
|
* srv/srv0start.c:
|
|
Fix Bug#36149 Read buffer overflow in srv0start.c found during "make
|
|
test"
|
|
|
|
2008-05-08 The InnoDB Team
|
|
|
|
* btr/btr0btr.c, mysql-test/innodb_bug36172.result,
|
|
mysql-test/innodb_bug36172.test:
|
|
Fix Bug#36172 insert into compressed innodb table crashes
|
|
|
|
2008-05-08 The InnoDB Team
|
|
|
|
InnoDB Plugin 1.0.1 released
|
|
|
|
2008-05-06 The InnoDB Team
|
|
|
|
* handler/ha_innodb.cc, include/srv0srv.h, include/sync0sync.h,
|
|
include/trx0sys.h, mysql-test/innodb-zip.result,
|
|
mysql-test/innodb-zip.test, srv/srv0srv.c, srv/srv0start.c,
|
|
sync/sync0sync.c, trx/trx0sys.c:
|
|
Implement the system tablespace tagging
|
|
|
|
* handler/ha_innodb.cc, handler/i_s.cc, include/univ.i,
|
|
srv/srv0start.c:
|
|
Add InnoDB version in INFORMATION_SCHEMA.PLUGINS.PLUGIN_VERSION,
|
|
in the startup message and in a server variable innodb_version.
|
|
|
|
* sync/sync0sync.c:
|
|
Fix a bug in the sync debug code where a lock with level
|
|
SYNC_LEVEL_VARYING would cause an assertion failure when a thread
|
|
tried to release it.
|
|
|
|
2008-04-30 The InnoDB Team
|
|
|
|
* Makefile.am:
|
|
Fix Bug#36434 ha_innodb.so is installed in the wrong directory
|
|
|
|
* handler/ha_innodb.cc:
|
|
Merge change from MySQL (Fix Bug#35406 5.1-opt crashes on select from
|
|
I_S.REFERENTIAL_CONSTRAINTS):
|
|
ChangeSet@1.2563, 2008-03-18 19:42:04+04:00, gluh@mysql.com +1 -0
|
|
|
|
* scripts/install_innodb_plugins.sql:
|
|
Added
|
|
|
|
* mysql-test/innodb.result:
|
|
Merge change from MySQL (this fixes the failing innodb test):
|
|
ChangeSet@1.1810.3601.4, 2008-02-07 02:33:21+04:00
|
|
|
|
* row/row0sel.c:
|
|
Fix Bug#35226 RBR event crashes slave
|
|
|
|
* handler/ha_innodb.cc:
|
|
Change the fix for Bug#32440 to show bytes instead of kilobytes in
|
|
INFORMATION_SCHEMA.TABLES.DATA_FREE
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb.result,
|
|
mysql-test/innodb.test:
|
|
Fix Bug#29507 TRUNCATE shows to many rows effected
|
|
|
|
* handler/ha_innodb.cc, mysql-test/innodb.result,
|
|
mysql-test/innodb.test:
|
|
Fix Bug#35537 Innodb doesn't increment handler_update and
|
|
handler_delete
|
|
|
|
2008-04-29 The InnoDB Team
|
|
|
|
* handler/i_s.cc, include/srv0start.h, srv/srv0start.c:
|
|
Fix Bug#36310 InnoDB plugin crash
|
|
|
|
2008-04-23 The InnoDB Team
|
|
|
|
* mysql-test/innodb_bug36169.result, mysql-test/innodb_bug36169.test,
|
|
row/row0mysql.c:
|
|
Fix Bug#36169 create innodb compressed table with too large row size
|
|
crashed
|
|
|
|
* (outside the source tree):
|
|
Fix Bug#36222 New InnoDB plugin 1.0 has wrong MKDIR_P defined in
|
|
Makefile.in
|
|
|
|
2008-04-15 The InnoDB Team
|
|
|
|
InnoDB Plugin 1.0.0 released
|