2008-10-24 08:51:35 +02:00
|
|
|
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.
|
|
|
|
|
branches/innodb+: Merge revisions 2835:2862 from branches/zip:
------------------------------------------------------------------------
r2838 | vasil | 2008-10-21 12:49:27 +0300 (Tue, 21 Oct 2008) | 61 lines
branches/zip:
Merge 2744:2837 from branches/5.1 (skipping r2782 and r2826):
------------------------------------------------------------------------
r2832 | vasil | 2008-10-21 10:08:30 +0300 (Tue, 21 Oct 2008) | 10 lines
Changed paths:
M /branches/5.1/handler/ha_innodb.cc
branches/5.1:
In ha_innobase::info():
Replace sql_print_warning() which prints to mysqld error log with
push_warning_printf() which sends the error message to the client.
Suggested by: Marko, Sunny, Michael
Objected by: Inaam
------------------------------------------------------------------------
r2837 | vasil | 2008-10-21 12:07:44 +0300 (Tue, 21 Oct 2008) | 32 lines
Changed paths:
M /branches/5.1/mysql-test/innodb-semi-consistent.result
M /branches/5.1/mysql-test/innodb-semi-consistent.test
M /branches/5.1/mysql-test/innodb.result
M /branches/5.1/mysql-test/innodb.test
branches/5.1:
Merge a change from MySQL (this fixes the failing innodb and
innodb-semi-consistent tests):
revno: 2757
committer: Georgi Kodinov <kgeorge@mysql.com>
branch nick: B39812-5.1-5.1.29-rc
timestamp: Fri 2008-10-03 15:24:19 +0300
message:
Bug #39812: Make statement replication default for 5.1 (to match 5.0)
Make STMT replication default for 5.1.
Add a default of MIXED into the config files
Fix the tests that needed MIXED replication mode.
modified:
mysql-test/include/mix1.inc
mysql-test/r/innodb-semi-consistent.result
mysql-test/r/innodb.result
mysql-test/r/innodb_mysql.result
mysql-test/r/tx_isolation_func.result
mysql-test/t/innodb-semi-consistent.test
mysql-test/t/innodb.test
mysql-test/t/tx_isolation_func.test
sql/mysqld.cc
support-files/my-huge.cnf.sh
support-files/my-innodb-heavy-4G.cnf.sh
support-files/my-large.cnf.sh
support-files/my-medium.cnf.sh
support-files/my-small.cnf.sh
------------------------------------------------------------------------
------------------------------------------------------------------------
r2847 | marko | 2008-10-22 10:07:37 +0300 (Wed, 22 Oct 2008) | 6 lines
branches/zip: page_zip_rec_needs_ext(): Fix a bug that was introduced
in the fix of Mantis issue #73. With key_block_size=16, we will also
have to check the available space on the uncompressed page.
Otherwise, the clustered index record can be almost 16 kilobytes in
size, and the undo log record will not fit.
------------------------------------------------------------------------
r2850 | marko | 2008-10-22 13:52:12 +0300 (Wed, 22 Oct 2008) | 2 lines
branches/zip: ibuf_insert_to_index_page(): Discard the local variable block.
page_cur is always positioned on block, the function parameter.
------------------------------------------------------------------------
r2853 | sunny | 2008-10-23 01:52:09 +0300 (Thu, 23 Oct 2008) | 2 lines
branches/zip: Add missing UNIV_INTERN.
------------------------------------------------------------------------
r2855 | sunny | 2008-10-23 09:29:46 +0300 (Thu, 23 Oct 2008) | 36 lines
branches/zip:
Merge revisions 2837:2852 from branches/5.1:
------------------------------------------------------------------------
r2849 | sunny | 2008-10-22 12:01:18 +0300 (Wed, 22 Oct 2008) | 8 lines
Changed paths:
M /branches/5.1/handler/ha_innodb.cc
M /branches/5.1/include/row0mysql.h
M /branches/5.1/row/row0mysql.c
branches/5.1: Return the actual error code encountered when allocating
a new autoinc value. The change in behavior (bug) was introduced in 5.1.22
when we introduced the new AUTOINC locking model.
rb://31
Bug#40224 New AUTOINC changes mask reporting of deadlock/timeout errors
------------------------------------------------------------------------
r2852 | sunny | 2008-10-23 01:42:24 +0300 (Thu, 23 Oct 2008) | 9 lines
Changed paths:
M /branches/5.1/handler/ha_innodb.cc
M /branches/5.1/handler/ha_innodb.h
branches/5.1: Backport r2724 from branches/zip
Check column value against the col max value before updating the table's
global autoinc counter value. This is part of simplifying the AUTOINC
sub-system. We extract the type info from MySQL data structures at runtime.
This fixes Bug#37788 InnoDB Plugin: AUTO_INCREMENT wrong for compressed tables
------------------------------------------------------------------------
------------------------------------------------------------------------
r2856 | sunny | 2008-10-23 10:07:05 +0300 (Thu, 23 Oct 2008) | 1 line
Reverting test file changes from r2855
------------------------------------------------------------------------
r2857 | sunny | 2008-10-23 10:24:33 +0300 (Thu, 23 Oct 2008) | 30 lines
branches/zip:
Merge revisions 2852:2854 from branches/5.1:
------------------------------------------------------------------------
r2854 | sunny | 2008-10-23 08:30:32 +0300 (Thu, 23 Oct 2008) | 13 lines
Changed paths:
M /branches/5.1/dict/dict0dict.c
M /branches/5.1/dict/dict0mem.c
M /branches/5.1/handler/ha_innodb.cc
M /branches/5.1/handler/ha_innodb.h
M /branches/5.1/include/dict0dict.h
M /branches/5.1/include/dict0mem.h
M /branches/5.1/row/row0mysql.c
branches/5.1: Backport changes from branches/zip r2725
Simplify the autoinc initialization code. This removes the
non-determinism related to reading the table's autoinc value for the first
time. This change has also reduced the sizeof dict_table_t by sizeof(ibool)
bytes because we don't need the dict_table_t::autoinc_inited field anymore.
Bug#39830 Table autoinc value not updated on first insert.
Bug#35498 Cannot get table test/table1 auto-inccounter value in ::info
Bug#36411 Failed to read auto-increment value from storage engine" in 5.1.24 auto-inc
rb://16
------------------------------------------------------------------------
------------------------------------------------------------------------
r2858 | vasil | 2008-10-23 11:33:43 +0300 (Thu, 23 Oct 2008) | 4 lines
branches/zip:
Update the ChangeLog
------------------------------------------------------------------------
r2861 | marko | 2008-10-23 12:27:15 +0300 (Thu, 23 Oct 2008) | 24 lines
branches/zip: Clean up the file format stamping.
trx_sys_file_format_max_upgrade(): Rename from
trx_sys_file_format_max_update(). Improve the documentation. Add a
const qualifier to the parameter "name". Replace the parameter
"flags" with "format_id", because this function should deal with file
format identifiers, not with table flags.
trx_sys_file_format_max_write(), trx_sys_file_format_max_set(): Add a
const qualifier to the parameter "name".
ha_innodb.cc: Correct the spelling in some comments: "side effect".
Remove redundant prototypes for some static callback functions.
innodb_file_format_name_update(), innodb_file_format_check_update():
Correct the function signature. Use appropriate pointer type conversions.
MYSQL_SYSVAR_STR(file_format), MYSQL_SYSVAR_STR(file_format_check):
Remove the type conversions from the callback function pointers. When
the function signatures match, no type conversion is needed. The type
conversions would only prevent compilation warnings for any mismatch.
Approved by Sunny in rb://25.
------------------------------------------------------------------------
r2862 | marko | 2008-10-23 12:37:42 +0300 (Thu, 23 Oct 2008) | 8 lines
branches/zip: Non-functional changes:
ibuf_get_volume_buffered(): Declare with static linkage.
This function is private to ibuf0ibuf.c.
btr_cur_pessimistic_delete(): Use the cached result of
btr_cur_get_index(cursor).
------------------------------------------------------------------------
2008-10-23 12:03:20 +02:00
|
|
|
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-24 08:51:35 +02:00
|
|
|
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.
|
|
|
|
|
branches/innodb+: Merge revisions 2835:2862 from branches/zip:
------------------------------------------------------------------------
r2838 | vasil | 2008-10-21 12:49:27 +0300 (Tue, 21 Oct 2008) | 61 lines
branches/zip:
Merge 2744:2837 from branches/5.1 (skipping r2782 and r2826):
------------------------------------------------------------------------
r2832 | vasil | 2008-10-21 10:08:30 +0300 (Tue, 21 Oct 2008) | 10 lines
Changed paths:
M /branches/5.1/handler/ha_innodb.cc
branches/5.1:
In ha_innobase::info():
Replace sql_print_warning() which prints to mysqld error log with
push_warning_printf() which sends the error message to the client.
Suggested by: Marko, Sunny, Michael
Objected by: Inaam
------------------------------------------------------------------------
r2837 | vasil | 2008-10-21 12:07:44 +0300 (Tue, 21 Oct 2008) | 32 lines
Changed paths:
M /branches/5.1/mysql-test/innodb-semi-consistent.result
M /branches/5.1/mysql-test/innodb-semi-consistent.test
M /branches/5.1/mysql-test/innodb.result
M /branches/5.1/mysql-test/innodb.test
branches/5.1:
Merge a change from MySQL (this fixes the failing innodb and
innodb-semi-consistent tests):
revno: 2757
committer: Georgi Kodinov <kgeorge@mysql.com>
branch nick: B39812-5.1-5.1.29-rc
timestamp: Fri 2008-10-03 15:24:19 +0300
message:
Bug #39812: Make statement replication default for 5.1 (to match 5.0)
Make STMT replication default for 5.1.
Add a default of MIXED into the config files
Fix the tests that needed MIXED replication mode.
modified:
mysql-test/include/mix1.inc
mysql-test/r/innodb-semi-consistent.result
mysql-test/r/innodb.result
mysql-test/r/innodb_mysql.result
mysql-test/r/tx_isolation_func.result
mysql-test/t/innodb-semi-consistent.test
mysql-test/t/innodb.test
mysql-test/t/tx_isolation_func.test
sql/mysqld.cc
support-files/my-huge.cnf.sh
support-files/my-innodb-heavy-4G.cnf.sh
support-files/my-large.cnf.sh
support-files/my-medium.cnf.sh
support-files/my-small.cnf.sh
------------------------------------------------------------------------
------------------------------------------------------------------------
r2847 | marko | 2008-10-22 10:07:37 +0300 (Wed, 22 Oct 2008) | 6 lines
branches/zip: page_zip_rec_needs_ext(): Fix a bug that was introduced
in the fix of Mantis issue #73. With key_block_size=16, we will also
have to check the available space on the uncompressed page.
Otherwise, the clustered index record can be almost 16 kilobytes in
size, and the undo log record will not fit.
------------------------------------------------------------------------
r2850 | marko | 2008-10-22 13:52:12 +0300 (Wed, 22 Oct 2008) | 2 lines
branches/zip: ibuf_insert_to_index_page(): Discard the local variable block.
page_cur is always positioned on block, the function parameter.
------------------------------------------------------------------------
r2853 | sunny | 2008-10-23 01:52:09 +0300 (Thu, 23 Oct 2008) | 2 lines
branches/zip: Add missing UNIV_INTERN.
------------------------------------------------------------------------
r2855 | sunny | 2008-10-23 09:29:46 +0300 (Thu, 23 Oct 2008) | 36 lines
branches/zip:
Merge revisions 2837:2852 from branches/5.1:
------------------------------------------------------------------------
r2849 | sunny | 2008-10-22 12:01:18 +0300 (Wed, 22 Oct 2008) | 8 lines
Changed paths:
M /branches/5.1/handler/ha_innodb.cc
M /branches/5.1/include/row0mysql.h
M /branches/5.1/row/row0mysql.c
branches/5.1: Return the actual error code encountered when allocating
a new autoinc value. The change in behavior (bug) was introduced in 5.1.22
when we introduced the new AUTOINC locking model.
rb://31
Bug#40224 New AUTOINC changes mask reporting of deadlock/timeout errors
------------------------------------------------------------------------
r2852 | sunny | 2008-10-23 01:42:24 +0300 (Thu, 23 Oct 2008) | 9 lines
Changed paths:
M /branches/5.1/handler/ha_innodb.cc
M /branches/5.1/handler/ha_innodb.h
branches/5.1: Backport r2724 from branches/zip
Check column value against the col max value before updating the table's
global autoinc counter value. This is part of simplifying the AUTOINC
sub-system. We extract the type info from MySQL data structures at runtime.
This fixes Bug#37788 InnoDB Plugin: AUTO_INCREMENT wrong for compressed tables
------------------------------------------------------------------------
------------------------------------------------------------------------
r2856 | sunny | 2008-10-23 10:07:05 +0300 (Thu, 23 Oct 2008) | 1 line
Reverting test file changes from r2855
------------------------------------------------------------------------
r2857 | sunny | 2008-10-23 10:24:33 +0300 (Thu, 23 Oct 2008) | 30 lines
branches/zip:
Merge revisions 2852:2854 from branches/5.1:
------------------------------------------------------------------------
r2854 | sunny | 2008-10-23 08:30:32 +0300 (Thu, 23 Oct 2008) | 13 lines
Changed paths:
M /branches/5.1/dict/dict0dict.c
M /branches/5.1/dict/dict0mem.c
M /branches/5.1/handler/ha_innodb.cc
M /branches/5.1/handler/ha_innodb.h
M /branches/5.1/include/dict0dict.h
M /branches/5.1/include/dict0mem.h
M /branches/5.1/row/row0mysql.c
branches/5.1: Backport changes from branches/zip r2725
Simplify the autoinc initialization code. This removes the
non-determinism related to reading the table's autoinc value for the first
time. This change has also reduced the sizeof dict_table_t by sizeof(ibool)
bytes because we don't need the dict_table_t::autoinc_inited field anymore.
Bug#39830 Table autoinc value not updated on first insert.
Bug#35498 Cannot get table test/table1 auto-inccounter value in ::info
Bug#36411 Failed to read auto-increment value from storage engine" in 5.1.24 auto-inc
rb://16
------------------------------------------------------------------------
------------------------------------------------------------------------
r2858 | vasil | 2008-10-23 11:33:43 +0300 (Thu, 23 Oct 2008) | 4 lines
branches/zip:
Update the ChangeLog
------------------------------------------------------------------------
r2861 | marko | 2008-10-23 12:27:15 +0300 (Thu, 23 Oct 2008) | 24 lines
branches/zip: Clean up the file format stamping.
trx_sys_file_format_max_upgrade(): Rename from
trx_sys_file_format_max_update(). Improve the documentation. Add a
const qualifier to the parameter "name". Replace the parameter
"flags" with "format_id", because this function should deal with file
format identifiers, not with table flags.
trx_sys_file_format_max_write(), trx_sys_file_format_max_set(): Add a
const qualifier to the parameter "name".
ha_innodb.cc: Correct the spelling in some comments: "side effect".
Remove redundant prototypes for some static callback functions.
innodb_file_format_name_update(), innodb_file_format_check_update():
Correct the function signature. Use appropriate pointer type conversions.
MYSQL_SYSVAR_STR(file_format), MYSQL_SYSVAR_STR(file_format_check):
Remove the type conversions from the callback function pointers. When
the function signatures match, no type conversion is needed. The type
conversions would only prevent compilation warnings for any mismatch.
Approved by Sunny in rb://25.
------------------------------------------------------------------------
r2862 | marko | 2008-10-23 12:37:42 +0300 (Thu, 23 Oct 2008) | 8 lines
branches/zip: Non-functional changes:
ibuf_get_volume_buffered(): Declare with static linkage.
This function is private to ibuf0ibuf.c.
btr_cur_pessimistic_delete(): Use the cached result of
btr_cur_get_index(cursor).
------------------------------------------------------------------------
2008-10-23 12:03:20 +02:00
|
|
|
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-11 21:37:21 +02:00
|
|
|
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-24 11:45:19 +02:00
|
|
|
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-22 09:57:34 +02:00
|
|
|
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 21:52:30 +02:00
|
|
|
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-08-09 02:15:46 +02:00
|
|
|
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-14 17:43:19 +02:00
|
|
|
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
|